Partager via


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
Public class 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.
Public class SecurityCriticalAttribute Specifies that code or an assembly performs security-critical operations.
Public class SecurityException The exception that is thrown when a security error is detected.
Public class SecuritySafeCriticalAttribute Identifies types or members as security-critical and safely accessible by transparent code.
Public class SecurityState Provides a base class for requesting the security status of an action from the AppDomainManager object.
Public class SecurityTransparentAttribute Specifies that an assembly cannot access protected resources or functionality.
Public class UnverifiableCodeAttribute Marks modules that contain unverifiable code. This class cannot be inherited.
Public class 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.