The System.Security namespace provides the underlying structure of the common language runtime security system, including base classes for permissions.
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.
Defines the underlying structure of all code access permissions.
The exception that is thrown when a denied host resource is detected.
Allows the control and customization of security behavior for application domains.
Defines a permission set that has a name and description associated with it. This class cannot be inherited.
Represents a collection that can contain many different types of permissions.
Represents a read-only collection that can contain many different types of permissions.
Represents text that should be kept confidential, such as by deleting it from computer memory when no longer needed. This class cannot be inherited.
Provides a collection of methods for allocating unmanaged memory and copying unmanaged memory blocks.
Encapsulates and propagates all security-related data for execution contexts transferred across threads. This class cannot be inherited.
Specifies that code or an assembly performs security-critical operations.
Represents the XML object model for encoding security objects. This class cannot be inherited.
The exception that is thrown when a security error is detected.
Provides the main access point for classes interacting with the security system. This class cannot be inherited.
Indicates the set of security rules the common language runtime should enforce for an assembly.
Identifies types or members as security-critical and safely accessible by transparent code.
Provides a base class for requesting the security status of an action from the AppDomainManager object.
Specifies that an assembly cannot cause an elevation of privilege.
Identifies which of the nonpublic SecurityCriticalAttribute members are accessible by transparent code within the assembly.
Allows managed code to call into unmanaged code without a stack walk. This class cannot be inherited.
Marks modules containing unverifiable code. This class cannot be inherited.
The exception that is thrown when the security policy requires code to be type safe and the verification process is unable to verify that the code is type safe.
The exception that is thrown when there is a syntax error in XML parsing. This class cannot be inherited.
Gets an object's Evidence.
Defines methods implemented by permission types.
Defines the methods that convert permission object state to and from XML element representation.
Supports the methods that convert permission object state to and from an XML element representation.
Manages the stack walk that determines whether all callers in the call stack have the required permissions to access a protected resource.
Specifies the security policy components to be used by the host security manager.
Represents the type of manifest that the signature information applies to.
Specifies the default partial-trust visibility for code that is marked with the AllowPartiallyTrustedCallersAttribute (APTCA) attribute.
Specifies the type of a managed code policy level.
Identifies the source for the security context.
Specifies the scope of a SecurityCriticalAttribute.
Identifies the set of security rules the common language runtime should enforce for an assembly.
Defines the integer values corresponding to security zones used by security policy.
We'd love to hear your thoughts. Choose the type you'd like to provide:
Our feedback system is built on GitHub Issues. Read more on our blog.