System.Security Namespace
Microsoft Silverlight will reach end of support after October 2021. Learn more.
The System.Security namespace provides the underlying structure of the common language runtime security system, including base classes for permissions.
Classes
Class | Description | |
---|---|---|
AllowPartiallyTrustedCallersAttribute | Infrastructure. Allows an assembly to be called by partially trusted code. Without this declaration, only fully trusted callers are able to use the assembly. This class cannot be inherited. | |
SecurityCriticalAttribute | Specifies that code or an assembly performs security-critical operations. | |
SecurityException | The exception that is thrown when a security error is detected. | |
SecuritySafeCriticalAttribute | Identifies types or members as security-critical and safely accessible by transparent code. | |
SecurityState | Provides a base class for requesting the security status of an action from the AppDomainManager object. | |
SecurityTransparentAttribute | Specifies that an assembly cannot access protected resources or functionality. | |
UnverifiableCodeAttribute | Marks modules that contain unverifiable code. This class cannot be inherited. | |
VerificationException | The exception that is thrown when the security policy requires code to be type-safe, but the verification process is unable to verify that the code is type-safe. |