AssemblyBuilder.SecurityRuleSet Property

.NET Framework (current version)

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

Namespace:   System.Reflection.Emit
Assembly:  mscorlib (in mscorlib.dll)

public override SecurityRuleSet SecurityRuleSet { get; }

Property Value

Type: System.Security.SecurityRuleSet

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

The .NET Framework 4 always enforces level 2 transparency (SecurityRuleSet.Level2) for the dynamic assemblies it generates.

.NET Framework
Available since 4.0
Return to top