Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

System.Security Namespace

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

The System.Security namespace provides the underlying structure of the common language runtime security system, including base classes for permissions.

  ClassDescription
Public classAllowPartiallyTrustedCallersAttributeInfrastructure. 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 classSecurityCriticalAttributeSpecifies that code or an assembly performs security-critical operations.
Public classSecurityExceptionThe exception that is thrown when a security error is detected.
Public classSecuritySafeCriticalAttributeIdentifies types or members as security-critical and safely accessible by transparent code.
Public classSecurityStateProvides a base class for requesting the security status of an action from the AppDomainManager object.
Public classSecurityTransparentAttributeSpecifies that an assembly cannot access protected resources or functionality.
Public classUnverifiableCodeAttributeMarks modules that contain unverifiable code. This class cannot be inherited.
Public classVerificationExceptionThe 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.

Show: