Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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 (in System.dll)

public:
virtual String^ ToString() override

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.

Universal Windows Platform
Available since 10
.NET Framework
Available since 4.0
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.1
Return to top
Show:
© 2017 Microsoft