TcpConnectionInformation.RemoteEndPoint Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

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

Namespace:   System.Net.NetworkInformation
Assembly:  System (in System.dll)

public abstract IPEndPoint RemoteEndPoint { get; }

Property Value

Type: System.Net.IPEndPoint

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

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

.NET Framework
Available since 2.0
Return to top