ToString Method
Collapse the table of content
Expand the table of content

SocketAddress.ToString Method ()

 

Returns information about the socket address.

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

public override string ToString()

Return Value

Type: System.String

A string that contains information about the SocketAddress.

The ToString method returns a string that contains the AddressFamily enumerated value, the size of the underlying buffer of the SocketAddress structure, and the remaining contents of the buffer.

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