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

EndPoint.AddressFamily Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Gets the address family to which the endpoint belongs.

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

'Declaration
Public Overridable ReadOnly Property AddressFamily As AddressFamily

Property Value

Type: System.Net.Sockets.AddressFamily
One of the AddressFamily values.

ExceptionCondition
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.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Windows Phone

Show:
© 2017 Microsoft