Gets the System.Net.Sockets.AddressFamily enumerated value of the current System.Net.SocketAddress.
One of the values defined in the System.Net.Sockets.AddressFamily enumeration.
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.