using MediaBrowser.Common.Implementations.Networking;
using MediaBrowser.Common.Net;
using MediaBrowser.Model.IO;
using MediaBrowser.Model.Logging;
using MediaBrowser.Model.Net;
using System.Collections.Generic;
namespace MediaBrowser.Server.Mono.Networking
{
///
/// Class NetUtils
///
public class NetworkManager : BaseNetworkManager, INetworkManager
{
public NetworkManager(ILogger logger)
: base(logger)
{
}
///
/// Gets the network shares.
///
/// The path.
/// IEnumerable{NetworkShare}.
public IEnumerable GetNetworkShares(string path)
{
return new List();
}
///
/// Gets available devices within the domain
///
/// PC's in the Domain
public IEnumerable GetNetworkDevices()
{
return new List();
}
///
/// Generates a self signed certificate at the locatation specified by .
///
/// The path to generate the certificate.
/// The common name for the certificate.
public void GenerateSelfSignedSslCertificate(string certificatePath, string hostname)
{
CertificateGenerator.CreateSelfSignCertificatePfx(certificatePath, hostname, Logger);
}
}
}