Compartir a través de


UriIdnScope Enumeration

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Provides the possible values for the configuration setting Internationalized Domain Name parsing.

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

Syntax

'Declaration
Public Enumeration UriIdnScope
public enum UriIdnScope

Members

Member name Description
Supported by Silverlight for Windows PhoneSupported by Xbox 360 None This value will not convert any Unicode domain names to use Punycode. This is the default value which is consistent with the .NET Framework 2.0 behavior.
Supported by Silverlight for Windows PhoneSupported by Xbox 360 AllExceptIntranet This value will convert all external Unicode domain names to use the Punycode equivalents (IDN names). In this case to handle international names on the local Intranet, the DNS servers that are used for the Intranet should support Unicode names.
Supported by Silverlight for Windows PhoneSupported by Xbox 360 All This value will convert any Unicode domain names to their Punycode equivalents (IDN names).

Remarks

The Uri class in Silverlight 2 does not currently provide support for International Resource Identifiers (IRI) and Internationalized Domain Name (IDN) parsing.

For more information on IRI support, see the Remarks section for the Uri class.

Version Information

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

XNA Framework

Supported in: Xbox 360, Windows Phone OS 7.0

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

See Also

Reference