Assembly::SecurityRuleSet Property

.NET Framework 4.6 and 4.5

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

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

virtual property SecurityRuleSet SecurityRuleSet {
	SecurityRuleSet get ();

Property Value

Type: System.Security::SecurityRuleSet
The security rule set that the CLR enforces for this assembly.

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 in the .NET Framework.

.NET Framework

Supported in: 4.6, 4.5, 4

.NET Framework Client Profile

Supported in: 4
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft