แก้ไข

แชร์ผ่าน


PeerEndPoint.EndPoint Property

Definition

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.

Applies to

See also