System::Security::Permissions Namespace Reference

Classes

class  SecurityPermission
 

Enumerations

enum  PermissionState { PermissionState::Unrestricted = 1, PermissionState::None = 0 }
 State of permission. More...
 
enum  SecurityPermissionFlag {
  SecurityPermissionFlag::NoFlags = 0, SecurityPermissionFlag::Assertion = 1, SecurityPermissionFlag::UnmanagedCode = 2, SecurityPermissionFlag::SkipVerification = 4,
  SecurityPermissionFlag::Execution = 8, SecurityPermissionFlag::ControlThread = 16, SecurityPermissionFlag::ControlEvidence = 32, SecurityPermissionFlag::ControlPolicy = 64,
  SecurityPermissionFlag::SerializationFormatter = 128, SecurityPermissionFlag::ControlDomainPolicy = 256, SecurityPermissionFlag::ControlPrincipal = 512, SecurityPermissionFlag::ControlAppDomain = 1024,
  SecurityPermissionFlag::RemotingConfiguration = 2048, SecurityPermissionFlag::Infrastructure = 4096, SecurityPermissionFlag::BindingRedirects = 8192, SecurityPermissionFlag::AllFlags = 16383
}
 Flags of security permission. More...
 

Enumeration Type Documentation

◆ PermissionState

State of permission.

Enumerator
Unrestricted 

Full access to the resource protected by the permission.

None 

No access to the resource protected by the permission.

◆ SecurityPermissionFlag

Flags of security permission.

Enumerator
NoFlags 

No access.

Assertion 

Assert that permission is given.

UnmanagedCode 

Call unmanaged code.

SkipVerification 

Skip code verification.

Execution 

Execute code.

ControlThread 

Perform operations on threads.

ControlEvidence 

Control or alter CLR evidence.

ControlPolicy 

View and change policy.

SerializationFormatter 

Serialize.

ControlDomainPolicy 

Set domain policy.

ControlPrincipal 

Control principal object.

ControlAppDomain 

Control application domain.

RemotingConfiguration 

Configure remoting.

Infrastructure 

Plug into CLR infrastructure.

BindingRedirects 

Perform explicit binding redirection.

AllFlags 

Unrestricted.