diff options
Diffstat (limited to 'MediaBrowser.Common/Net/INetworkManager.cs')
| -rw-r--r-- | MediaBrowser.Common/Net/INetworkManager.cs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/MediaBrowser.Common/Net/INetworkManager.cs b/MediaBrowser.Common/Net/INetworkManager.cs index 979dae49c9..6b8136d872 100644 --- a/MediaBrowser.Common/Net/INetworkManager.cs +++ b/MediaBrowser.Common/Net/INetworkManager.cs @@ -2,6 +2,7 @@ using MediaBrowser.Model.IO; using MediaBrowser.Model.Net; using System.Collections.Generic; using System.Net; +using MediaBrowser.Model.Logging; namespace MediaBrowser.Common.Net { @@ -51,5 +52,12 @@ namespace MediaBrowser.Common.Net /// <param name="endpoint">The endpoint.</param> /// <returns><c>true</c> if [is in local network] [the specified endpoint]; otherwise, <c>false</c>.</returns> bool IsInLocalNetwork(string endpoint); + + /// <summary> + /// Generates a self signed certificate at the locatation specified by <paramref name="certificatePath"/>. + /// </summary> + /// <param name="certificatePath">The path to generate the certificate.</param> + /// <param name="hostname">The common name for the certificate.</param> + void GenerateSelfSignedSslCertificate(string certificatePath, string hostname); } }
\ No newline at end of file |
