Struct PeerNetworkData.NetworkID
Represents the network ID of a peer, including its address and port.
public readonly struct PeerNetworkData.NetworkID
- Inherited Members
Fields
Address
Gets the address of the peer.
public readonly PeerAddress Address
Field Value
Port
Gets the port of the peer.
public readonly ushort Port
Field Value
Methods
ToEndpoint()
Converts the network ID to an IPEndPoint instance.
public IPEndPoint ToEndpoint()
Returns
- IPEndPoint
An IPEndPoint representing the peer's address and port.