SocketAddress.Family Property


Gets the AddressFamily enumerated value of the current SocketAddress.

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

member Family : AddressFamily with 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.

Universal Windows Platform
Available since 10
.NET Framework
Available since 1.1
Available since 2.0
Windows Phone Silverlight
Available since 7.1
Return to top