IdnMapping.UseStd3AsciiRules Property

Note: This property is new in the .NET Framework version 2.0.

Gets or sets a value indicating whether standard or nonstandard naming conventions are used in operations performed by members of the current IdnMapping object.

Namespace: System.Globalization
Assembly: mscorlib (in mscorlib.dll)

public bool UseStd3AsciiRules { get; set; }
/** @property */
public boolean get_UseStd3AsciiRules ()

/** @property */
public void set_UseStd3AsciiRules (boolean value)

public function get UseStd3AsciiRules () : boolean

public function set UseStd3AsciiRules (value : boolean)

Property Value

true if nonstandard naming conventions are used in operations; otherwise, false.

Domain names that follow standard naming rules consist of characters in the US-ASCII character range. The characters are the letters A through Z, the digits 0 through 9, the hyphen (-) character, and the period (.) character. The case of the domain name is not significant.

For more information, see the RFC 1122 standard, "Requirements for Internet Hosts – Communication Layers," at Request for Comments (RFC).


The IdnMapping class prohibits the use of the nondisplayable characters U+0000 through U+001F and U+007F in domain name labels regardless of the setting of the UseStd3AsciiRules property. This prohibition reduces the risk of security attacks such as name spoofing.

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0

Community Additions