mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-05-29 11:58:27 +01:00
add ipv6, update SocketHttpListener
This commit is contained in:
@@ -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
|
||||
@@ -25,6 +25,13 @@ namespace MediaBrowser.Common.Net
|
||||
/// <returns>[string] MAC Address</returns>
|
||||
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>
|
||||
|
||||
Reference in New Issue
Block a user