Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

EndPoint::AddressFamily Property

 

Gets the address family to which the endpoint belongs.

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

public:
property AddressFamily AddressFamily {
	virtual AddressFamily get();
}

Property Value

Type: System.Net.Sockets::AddressFamily

One of the AddressFamily values.

Exception Condition
NotImplementedException

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
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.1
Return to top
Show:
© 2017 Microsoft