Export (0) Print
Expand All

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.

ExceptionCondition
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

Supported in: 4.6, 4.5, 4, 3.5

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft