This enumeration is used by System.Security.Permissions.SecurityPermission.
System.Security.Permissions.SecurityPermissionFlag is a bit-field; specify multiple values using the bitwise OR operator.
For information on security, see Partition II of the CLI Specification.
| Member Name | Description |
|---|---|
| AllFlags | Documentation for this section has not yet been entered. |
| Assertion |
Specifies the ability to assert that all of the callers of the code granted this permission will pass the check for a specific permission or permission set. The ability to assert a specific permission or permission set allows code to ensure that its callers do not fail with a security exception for lack of the specific permission or permission set asserted.
Note: Asserting a permission is often used
when writing library code that accesses protected resources but itself does not
expose these resources in any exploitable way to the calling code.
|
| BindingRedirects | Documentation for this section has not yet been entered. |
| ControlAppDomain | Documentation for this section has not yet been entered. |
| ControlDomainPolicy | Documentation for this section has not yet been entered. |
| ControlEvidence | Documentation for this section has not yet been entered. |
| ControlPolicy | Documentation for this section has not yet been entered. |
| ControlPrincipal | Documentation for this section has not yet been entered. |
| ControlThread | Specifies the ability to control thread behavior. The operations protected include System.Threading.Thread.Abort(object) and System.Threading.Thread.ResetAbort . |
| Execution | Specifies permission for the code to run. Without this permission managed code cannot execute. |
| Infrastructure | Documentation for this section has not yet been entered. |
| NoFlags | Specifies that none of the permissions in this enumeration are available. |
| RemotingConfiguration | Documentation for this section has not yet been entered. |
| SerializationFormatter | Documentation for this section has not yet been entered. |
| SkipVerification |
Specifies the right to skip the verification checks that ensure type safety and metadata correctness in an assembly. If an assembly has been granted this permission it will not fail with a System.Security.VerificationException even if the assembly contains unverifiable constructs.
Note: Code that is
unverifiable can execute without causing a System.Security.VerificationException if
this permission is granted.
|
| UnmanagedCode |
Specifies the ability to call unmanaged code.
Note:
Because unmanaged code potentially allows other permissions to be bypassed,
this permission should be used with caution. It is used for applications calling native
code using PInvoke.
|