mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-17 15:53:42 +01:00
moved some network code to the networking assembly
This commit is contained in:
31
MediaBrowser.Model/Net/NetworkShare.cs
Normal file
31
MediaBrowser.Model/Net/NetworkShare.cs
Normal 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; }
|
||||
}
|
||||
}
|
||||
30
MediaBrowser.Model/Net/NetworkShareType.cs
Normal file
30
MediaBrowser.Model/Net/NetworkShareType.cs
Normal 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
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user