PeerEndPoint.EndPoint Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the IPEndPoint that contains the IP address associated with the PeerEndPoint instance.
public:
property System::Net::IPEndPoint ^ EndPoint { System::Net::IPEndPoint ^ get(); void set(System::Net::IPEndPoint ^ value); };
public System.Net.IPEndPoint EndPoint { get; set; }
member this.EndPoint : System.Net.IPEndPoint with get, set
Public Property EndPoint As IPEndPoint
Property Value
IP address associated with the PeerEndPoint instance.
Exceptions
The specified EndPoint endpoint is not a valid IPv6 endpoint.
Remarks
To avoid corrupting the instance state, the caller should not change the EndPoint value if the instance was obtained from PeerNearMe or PeerContact.