Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

<ipv6> Element (Network Settings) 

Enables Internet Protocol version 6 (IPv6) responses from obsolete members of the Dns class.


The following sections describe attributes, child elements, and parent elements.


Attribute Description


Specifies whether members of the Dns class return Internet Protocol version 6 (IPv6) addresses.

Child Elements


Parent Elements

Element Description


Configures basic network options for the System.Net namespace.

This setting enables IPv6 support for the obsolete members of the Dns class: BeginGetHostByName, BeginResolve, EndGetHostByName, EndResolve, GetHostByAddress, GetHostByName, and Resolve. For other members of the System.Net namespace, IPv6 addresses may be returned if IPv6 is enabled in the operating system.

This element can be used in the application configuration file or the machine configuration file (Machine.config).

The following code example shows how to enable IPv6 support for the Dns class.

      <ipv6 enabled="true"/>

Community Additions

© 2015 Microsoft