System.Net.SocketAddress.Family Property

Gets the System.Net.Sockets.AddressFamily enumerated value of the current System.Net.SocketAddress.

Syntax

public System.Net.Sockets.AddressFamily Family { get; }

Value

One of the values defined in the System.Net.Sockets.AddressFamily enumeration.

Remarks

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

Requirements

Namespace: System.Net
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0