AddressFamily Property
Collapse the table of content
Expand the table of content

EndPoint.AddressFamily Property


Gets the address family to which the endpoint belongs.

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

public virtual AddressFamily AddressFamily { get; }

Property Value

Type: System.Net.Sockets.AddressFamily

One of the AddressFamily values.

Exception Condition

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.

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
© 2015 Microsoft