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)


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

Property Value

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


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

Version Information


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.