EndPoint.AddressFamily Property


Gets the address family to which the endpoint belongs.

 virtual property System::Net::Sockets::AddressFamily AddressFamily { System::Net::Sockets::AddressFamily get(); };
public virtual System.Net.Sockets.AddressFamily AddressFamily { get; }
member this.AddressFamily : System.Net.Sockets.AddressFamily
Public Overridable ReadOnly Property AddressFamily As AddressFamily

Property Value

One of the AddressFamily values.


Any attempt is made to get or set the property when the property is not overridden in a descendant class.


The AddressFamily property specifies the addressing scheme that is used by the endpoint's underlying network protocol.

Applies to