SecurityRulesAttribute.SkipVerificationInFullTrust Property

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Determines whether fully trusted transparent code should skip Microsoft intermediate language (MSIL) verification.

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

public bool SkipVerificationInFullTrust { get; set; }

Property Value

Type: System.Boolean

true if MSIL verification should be skipped; otherwise, false. The default is false.

This property should be used only for optimization, because security guarantees made for transparent code cannot be enforced if the code is unverifiable.

If you use this property to skip MSIL verification for an assembly, use the transparent option in the to statically verify that the assembly's transparent code meets type safety requirements.

.NET Framework
Available since 4.0
Return to top
Show: