Export (0) Print
Expand All

SocketAddress.Family Property

Gets the AddressFamily enumerated value of the current SocketAddress.

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

'Declaration
Public ReadOnly Property Family As AddressFamily

Property Value

Type: System.Net.Sockets.AddressFamily
One of the AddressFamily enumerated values.

This method gets the AddressFamily enumerated value that represents the addressing scheme of the current SocketAddress. If you want to view the corresponding string representation of AddressFamily, use the ToString method.

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