This documentation is archived and is not being maintained.

IriParsingElement.Enabled Property

Gets or sets the value of the IriParsingElement configuration setting.

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

[ConfigurationPropertyAttribute("enabled", DefaultValue = false)]
public bool Enabled { get; set; }

Property Value

Type: System.Boolean
A Boolean that indicates if International Resource Identifier (IRI) processing is enabled.

The IriParsingElement configuration setting controls IRI processing in the System.Uri class. This setting also indirectly controls International Domain Name (IDN) processing set with the System.Configuration.IdnElement class. IRI processing must be enabled for IDN processing to be possible. If IRI processing is disabled, then IDN processing will be set to the default setting where the .NET Framework 2.0 behavior is used for compatibility and IDN names are not used.

The configuration setting for the IriParsingElement will be read once when the first System.Uri class is constructed. Changes to configuration settings after that time are ignored.

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

.NET Framework

Supported in: 4, 3.5 SP1, 3.0 SP1, 2.0 SP1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

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