DnsEndPoint.AddressFamily Property

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Gets the Internet Protocol (IP) address family.

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

Syntax

'Declaration
Public Overrides ReadOnly Property AddressFamily As AddressFamily
public override AddressFamily AddressFamily { get; }

Property Value

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

Remarks

The AddressFamily property indicates the address family for an instance of the DnsEndPoint class.

Version Information

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1

Platforms

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