Class IpHelper
Inheritance
System.Object
IpHelper
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace:EvilDICOM.Network.Helpers
Assembly:EvilDICOM.dll
Syntax
public class IpHelper
Fields
View SourceLogger
Declaration
public static ILogger Logger
Field Value
| Type | Description |
|---|---|
| Microsoft.Extensions.Logging.ILogger |
Methods
View SourceLocalIPAddress()
Declaration
public static string LocalIPAddress()
Returns
| Type | Description |
|---|---|
| System.String |
VerifyIPAddress(String, Int32)
Declaration
public static (IPEndPoint Address, bool Success) VerifyIPAddress(string inputIpAddress, int port)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | inputIpAddress | |
| System.Int32 | port |
Returns
| Type | Description |
|---|---|
| System.ValueTuple<System.Net.IPEndPoint, System.Boolean> |