Returns the IP address and port number of the specified endpoint.
Syntax
public override
string ToString ()
Returns
A string containing the IP address and the port number of the specified endpoint (for example, 192.168.1.2:80).
Remarks
Requirements
Namespace: System.Net
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0