แก้ไข

แชร์ผ่าน


SecurityRulesAttribute.SkipVerificationInFullTrust Property

Definition

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

public:
 property bool SkipVerificationInFullTrust { bool get(); void set(bool value); };
public bool SkipVerificationInFullTrust { get; set; }
member this.SkipVerificationInFullTrust : bool with get, set
Public Property SkipVerificationInFullTrust As Boolean

Property Value

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

Remarks

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 Peverify tool to statically verify that the assembly's transparent code meets type safety requirements.

Applies to