Edit

Share via


TcpConnectionInformation.RemoteEndPoint Property

Definition

Gets the remote endpoint of a Transmission Control Protocol (TCP) connection.

public:
 abstract property System::Net::IPEndPoint ^ RemoteEndPoint { System::Net::IPEndPoint ^ get(); };
public abstract System.Net.IPEndPoint RemoteEndPoint { get; }
member this.RemoteEndPoint : System.Net.IPEndPoint
Public MustOverride ReadOnly Property RemoteEndPoint As IPEndPoint

Property Value

An IPEndPoint instance that contains the IP address and port on the remote computer.

Remarks

If the State of this connection is Listen, the remote endpoint is not established, and has all zeros for its IP address.

Applies to