<ipv6> Element (Network Settings)

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




Attributes and Elements

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


Attribute Description
enabled Specifies whether members of the Dns class return Internet Protocol version 6 (IPv6) addresses. The default value is false.

Child Elements


Parent Elements

Element Description
settings 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.

Configuration Files

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


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

      <ipv6 enabled="true"/>  

See also