แก้ไข

แชร์ผ่าน


Assembly.SecurityRuleSet Property

Definition

Gets a value that indicates which set of security rules the common language runtime (CLR) enforces for this assembly.

public:
 virtual property System::Security::SecurityRuleSet SecurityRuleSet { System::Security::SecurityRuleSet get(); };
public virtual System.Security.SecurityRuleSet SecurityRuleSet { get; }
member this.SecurityRuleSet : System.Security.SecurityRuleSet
Public Overridable ReadOnly Property SecurityRuleSet As SecurityRuleSet

Property Value

The security rule set that the CLR enforces for this assembly.

Remarks

.NET Framework only: By default, assemblies that you compile with the .NET Framework 4 have level 2 transparency, although you can explicitly make them level 1 instead. Assemblies that were compiled with earlier versions of the .NET Framework have level 1 transparency. See Security Changes.

Applies to

See also