Struct IPEndPointPair
Represents a connection's local and remote endpoints.
public readonly record struct IPEndPointPair : IEquatable<IPEndPointPair>
- Implements
- Inherited Members
Constructors
IPEndPointPair(IPEndPoint, IPEndPoint)
Represents a connection's local and remote endpoints.
public IPEndPointPair(IPEndPoint LocalEndPoint, IPEndPoint RemoteEndPoint)
Parameters
LocalEndPointIPEndPointThe local endpoint.
RemoteEndPointIPEndPointThe remote endpoint.
Properties
LocalEndPoint
The local endpoint.
public IPEndPoint LocalEndPoint { get; init; }
Property Value
RemoteEndPoint
The remote endpoint.
public IPEndPoint RemoteEndPoint { get; init; }
Property Value
Methods
ToString()
Returns the pair as local->remote, redacted as VhLogger.Format redacts an endpoint.
public override string ToString()
Returns
- string
The text.