NetworkManager.cs 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. using MediaBrowser.Common.Implementations.Networking;
  2. using MediaBrowser.Common.Net;
  3. using MediaBrowser.Model.Net;
  4. using System;
  5. using System.Collections.Generic;
  6. using System.Runtime.InteropServices;
  7. namespace MediaBrowser.ServerApplication.Networking
  8. {
  9. /// <summary>
  10. /// Class NetUtils
  11. /// </summary>
  12. public class NetworkManager : BaseNetworkManager, INetworkManager
  13. {
  14. /// <summary>
  15. /// Gets the network shares.
  16. /// </summary>
  17. /// <param name="path">The path.</param>
  18. /// <returns>IEnumerable{NetworkShare}.</returns>
  19. public IEnumerable<NetworkShare> GetNetworkShares(string path)
  20. {
  21. return new List<NetworkShare> ();
  22. }
  23. /// <summary>
  24. /// Uses the DllImport : NetServerEnum with all its required parameters
  25. /// (see http://msdn.microsoft.com/library/default.asp?url=/library/en-us/netmgmt/netmgmt/netserverenum.asp
  26. /// for full details or method signature) to retrieve a list of domain SV_TYPE_WORKSTATION
  27. /// and SV_TYPE_SERVER PC's
  28. /// </summary>
  29. /// <returns>Arraylist that represents all the SV_TYPE_WORKSTATION and SV_TYPE_SERVER
  30. /// PC's in the Domain</returns>
  31. public IEnumerable<string> GetNetworkDevices()
  32. {
  33. return new List<string> ();
  34. }
  35. }
  36. }