PeerEndPoint.EndPoint Property

 

Gets or sets the IPEndPoint that contains the IP address associated with the PeerEndPoint instance.

Namespace:   System.Net.PeerToPeer.Collaboration
Assembly:  System.Net (in System.Net.dll)

public IPEndPoint EndPoint { get; set; }

Property Value

Type: System.Net.IPEndPoint

IP address associated with the PeerEndPoint instance.

Exception Condition
PeerToPeerException

The specified EndPoint endpoint is not a valid IPv6 endpoint.

To avoid corrupting the instance state, the caller should not change the EndPoint value if the instance was obtained from PeerNearMe or PeerContact.

.NET Framework
Available since 3.5
Return to top
Show: