mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-19 20:54:20 +01:00
create platform-specific network manager implementation
This commit is contained in:
38
MediaBrowser.Server.Mono/Networking/NetworkManager.cs
Normal file
38
MediaBrowser.Server.Mono/Networking/NetworkManager.cs
Normal file
@@ -0,0 +1,38 @@
|
||||
using MediaBrowser.Common.Implementations.Networking;
|
||||
using MediaBrowser.Common.Net;
|
||||
using MediaBrowser.Model.Net;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace MediaBrowser.ServerApplication.Networking
|
||||
{
|
||||
/// <summary>
|
||||
/// Class NetUtils
|
||||
/// </summary>
|
||||
public class NetworkManager : BaseNetworkManager, INetworkManager
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets the network shares.
|
||||
/// </summary>
|
||||
/// <param name="path">The path.</param>
|
||||
/// <returns>IEnumerable{NetworkShare}.</returns>
|
||||
public IEnumerable<NetworkShare> GetNetworkShares(string path)
|
||||
{
|
||||
return new List<NetworkShare> ();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Uses the DllImport : NetServerEnum with all its required parameters
|
||||
/// (see http://msdn.microsoft.com/library/default.asp?url=/library/en-us/netmgmt/netmgmt/netserverenum.asp
|
||||
/// for full details or method signature) to retrieve a list of domain SV_TYPE_WORKSTATION
|
||||
/// and SV_TYPE_SERVER PC's
|
||||
/// </summary>
|
||||
/// <returns>Arraylist that represents all the SV_TYPE_WORKSTATION and SV_TYPE_SERVER
|
||||
/// PC's in the Domain</returns>
|
||||
public IEnumerable<string> GetNetworkDevices()
|
||||
{
|
||||
return new List<string> ();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user