Struct NetworkEndPoint
The NetworkEndPoint is our representation of the type.
Syntax
public struct NetworkEndPoint
Properties
AnyIpv4
Declaration
public static NetworkEndPoint AnyIpv4 { get; }
Property Value
Family
Declaration
public NetworkFamily Family { get; set; }
Property Value
IsValid
Declaration
public bool IsValid { get; }
Property Value
LoopbackIpv4
Declaration
public static NetworkEndPoint LoopbackIpv4 { get; }
Property Value
Port
Declaration
public ushort Port { get; set; }
Property Value
Methods
CreateIpv4(UInt32, UInt16)
Declaration
public static NetworkEndPoint CreateIpv4(uint ip, ushort port)
Parameters
Returns
Equals(Object)
Declaration
public override bool Equals(object other)
Parameters
Type |
Name |
Description |
Object |
other |
|
Returns
Overrides
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
Parse(String, UInt16)
Declaration
public static NetworkEndPoint Parse(string ip, ushort port)
Parameters
Returns
TryParse(String, UInt16, out NetworkEndPoint)
Declaration
public static bool TryParse(string ip, ushort port, out NetworkEndPoint endpoint)
Parameters
Returns
Operators
Equality(NetworkEndPoint, NetworkEndPoint)
Declaration
public static bool operator ==(NetworkEndPoint lhs, NetworkEndPoint rhs)
Parameters
Returns
Inequality(NetworkEndPoint, NetworkEndPoint)
Declaration
public static bool operator !=(NetworkEndPoint lhs, NetworkEndPoint rhs)
Parameters
Returns