moved some network code to the networking assembly

This commit is contained in:
LukePulverenti
2013-02-23 12:54:51 -05:00
parent 17c1fd5760
commit 465f0cc1e2
43 changed files with 505 additions and 179 deletions

View File

@@ -0,0 +1,31 @@

namespace MediaBrowser.Model.Net
{
public class NetworkShare
{
/// <summary>
/// The name of the computer that this share belongs to
/// </summary>
public string Server { get; set; }
/// <summary>
/// Share name
/// </summary>
public string Name { get; set; }
/// <summary>
/// Local path
/// </summary>
public string Path { get; set; }
/// <summary>
/// Share type
/// </summary>
public NetworkShareType ShareType { get; set; }
/// <summary>
/// Comment
/// </summary>
public string Remark { get; set; }
}
}

View File

@@ -0,0 +1,30 @@

namespace MediaBrowser.Model.Net
{
/// <summary>
/// Enum NetworkShareType
/// </summary>
public enum NetworkShareType
{
/// <summary>
/// Disk share
/// </summary>
Disk,
/// <summary>
/// Printer share
/// </summary>
Printer,
/// <summary>
/// Device share
/// </summary>
Device,
/// <summary>
/// IPC share
/// </summary>
Ipc,
/// <summary>
/// Special share
/// </summary>
Special
}
}