Assembly.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
Assembly:  mscorlib (in mscorlib.dll)

abstract SecurityRuleSet : SecurityRuleSet with get
override SecurityRuleSet : SecurityRuleSet with 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 transparency, although you can explicitly make them 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
Available since 4.0
Return to top