TcpConnectionInformation.RemoteEndPoint Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com 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
Show: