Specifies whether to bypass the validation of strong names on full-trust assemblies that are loaded into a full-trust AppDomain.
Attributes and Elements
The following sections describe attributes, child elements, and parent elements.
Specifies whether the bypass feature that avoids validating strong names for full-trust assemblies is enabled. When this feature is enabled, strong names are not validated for correctness when the assembly is loaded. The default is
||Strong-name signatures on full-trust assemblies are not validated when the assemblies are loaded into a full-trust AppDomain. This is the default.|
||Strong-name signatures on full-trust assemblies are validated when the assemblies are loaded into a full-trust AppDomain. The strong-name signature is checked only for signature correctness; it is not compared to another strong name for a match.|
||The root element in every configuration file used by the common language runtime and .NET Framework applications.|
||Contains information about assembly binding and garbage collection.|
The strong-name bypass feature avoids the overhead of strong-name signature verification of full-trust assemblies.
The bypass feature applies to any assembly that is signed with a strong name and that has the following characteristics:
Fully trusted without the StrongName evidence (for example, has
Loaded into a fully trusted AppDomain.
If the bypass feature has been turned off for all applications on the computer by using a registry key, this configuration file setting has no effect. For more information, see How to: Disable the Strong-Name Bypass Feature.
The following example shows how to specify the behavior that validates the strong-name signature on full-trust assemblies.
<configuration> <runtime> <bypassTrustedAppStrongNames enabled="false"/> </runtime> </configuration>