Property LocalEndpoint
LocalEndpoint
Gets the local endpoint that the interface will use to communicate on the network.
This call only makes sense after Bind(NetworkEndpoint) has already been called, and
represents the endpoint the interface is actually bound to. This property serves the
same purpose as getsockname
in the BSD socket world.
Declaration
NetworkEndpoint LocalEndpoint { get; }
Property Value
Type | Description |
---|---|
NetworkEndpoint | Local endpoint. |