This documentation is archived and is not being maintained.

IdnMapping.UseStd3AsciiRules Property

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 Value

Type: System.Boolean
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 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98

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

.NET Framework

Supported in: 3.5, 3.0, 2.0