SecurityPermissionFlag Enumeration
Note: This API is now obsolete.
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Specifies access flags for the security permission object.
This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.
Namespace: System.Security.PermissionsAssembly: mscorlib (in mscorlib.dll)
| Member name | Description | |
|---|---|---|
| AllFlags | The unrestricted state of the permission. | |
| Assertion | Ability to assert that all the callers of this code have the requisite permission for the operation. | |
| BindingRedirects | Permission to perform explicit binding redirection in the application configuration file. This includes redirection of .NET Framework assemblies that have been unified as well as other assemblies found outside the .NET Framework. | |
| ControlAppDomain | Ability to create and manipulate an AppDomain. | |
| ControlDomainPolicy | Ability to specify domain policy. | |
| ControlEvidence | Ability to provide evidence, including the ability to alter the evidence provided by the common language runtime. This is a powerful permission that should be granted only to highly trusted code. | |
| ControlPolicy | Ability to view and modify policy. This is a powerful permission that should be granted only to highly trusted code. | |
| ControlPrincipal | Ability to manipulate the principal object. | |
| ControlThread | Ability to use certain advanced operations on threads. | |
| Execution | Permission for the code to run. Without this permission, managed code will not be executed. | |
| Infrastructure | Permission to plug code into the common language runtime infrastructure, such as adding remoting context sinks, envoy sinks, and dynamic sinks. | |
| NoFlags | No security access. | |
| RemotingConfiguration | Permission to configure remoting types and channels. | |
| SerializationFormatter | Ability to provide serialization services. This flag is used by serialization formatters. | |
| SkipVerification | Ability to skip verification of code in this assembly. Code that is unverifiable can be run if this permission is granted. This is a powerful permission that should be granted only to highly trusted code. | |
| UnmanagedCode | Ability to call unmanaged code. Because unmanaged code potentially allows other permissions to be bypassed, this is a dangerous permission that should be granted only to highly trusted code. It is used for applications such as calling native code by using platform invoke or COM interop. |
This class supports the .NET Framework for Windows Phone library code and is not intended to be used by Windows Phone application code. The class has been marked as obsolete so that it will display a compilation warning. You can use this class in a Windows Phone application, but it will have no effect.