Export (0) Print
Expand All

DnsEndPoint.ToString Method

Returns the host name or string representation of the IP address and port number of the DnsEndPoint.

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

public override string ToString()

Return Value

Type: System.String
A string containing the address family, host name or IP address string, and the port number of the specified DnsEndPoint.

The ToString method returns a string that contains the address family, the host name or IP address string, and the port number.

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show:
© 2014 Microsoft