<PackageReference Include="System.Security.Permissions" Version="4.7.0" />

System.Security

Namespace with 16 public types

Classes

 HostProtectionException The exception that is thrown when a denied host resource is detected.
 HostSecurityManager Allows the control and customization of security behavior for application domains.
 NamedPermissionSet Defines a permission set that has a name and description associated with it. This class cannot be inherited.
 PermissionSet
 SecurityContext Encapsulates and propagates all security-related data for execution contexts transferred across threads. This class cannot be inherited.
 XmlSyntaxException The exception that is thrown when there is a syntax error in XML parsing. This class cannot be inherited.

Enumerations

 HostSecurityManagerOptions Specifies the security policy components to be used by the host security manager.
 PolicyLevelType Specifies the type of a managed code policy level.
 SecurityContextSource Identifies the source for the security context.
 SecurityZone Defines the integer values corresponding to security zones used by security policy.

Static Classes

 SecurityManager Provides the main access point for classes interacting with the security system. This class cannot be inherited.

Abstract Classes

 CodeAccessPermission Defines the underlying structure of all code access permissions.
 SecurityState Provides a base class for requesting the security status of an action from the object.

Interfaces

 IEvidenceFactory Gets an object's .
 ISecurityPolicyEncodable Supports the methods that convert permission object state to and from an XML element representation.
 IStackWalk