aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Common/Net/INetworkManager.cs
diff options
context:
space:
mode:
Diffstat (limited to 'MediaBrowser.Common/Net/INetworkManager.cs')
-rw-r--r--MediaBrowser.Common/Net/INetworkManager.cs9
1 files changed, 8 insertions, 1 deletions
diff --git a/MediaBrowser.Common/Net/INetworkManager.cs b/MediaBrowser.Common/Net/INetworkManager.cs
index 8fc947e8f..de63ddd51 100644
--- a/MediaBrowser.Common/Net/INetworkManager.cs
+++ b/MediaBrowser.Common/Net/INetworkManager.cs
@@ -11,7 +11,7 @@ namespace MediaBrowser.Common.Net
/// Gets the machine's local ip address
/// </summary>
/// <returns>IPAddress.</returns>
- IEnumerable<string> GetLocalIpAddresses();
+ IEnumerable<IPAddress> GetLocalIpAddresses();
/// <summary>
/// Gets a random port number that is currently available
@@ -26,6 +26,13 @@ namespace MediaBrowser.Common.Net
string GetMacAddress();
/// <summary>
+ /// Determines whether [is in private address space] [the specified endpoint].
+ /// </summary>
+ /// <param name="endpoint">The endpoint.</param>
+ /// <returns><c>true</c> if [is in private address space] [the specified endpoint]; otherwise, <c>false</c>.</returns>
+ bool IsInPrivateAddressSpace(string endpoint);
+
+ /// <summary>
/// Gets the network shares.
/// </summary>
/// <param name="path">The path.</param>