Export (0) Print
Expand All

SocketAddress::Family Property

Gets the AddressFamily enumerated value of the current SocketAddress.

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

property AddressFamily Family {
	AddressFamily get ();

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.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Supported in: Windows Phone 8.1

Supported in: Windows Phone Silverlight 8.1

Supported in: Windows Phone Silverlight 8
© 2015 Microsoft