Family Property
Collapse the table of content
Expand the table of content

SocketAddress.Family Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

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.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Windows Phone

Show:
© 2017 Microsoft