Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
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.Net (in System.Net.dll)

public virtual AddressFamily AddressFamily { get; }

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.

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show:
© 2015 Microsoft