Protection Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Enumerates values returned by several types.
This enumeration supports a bitwise combination of its member values.
[System.Flags]
public enum Protection
[<System.Flags>]
type Protection =
- Inheritance
-
Protection
- Attributes
Fields
Name | Value | Description |
---|---|---|
Normal | 0 | |
Dangerous | 1 | Dangerous value for ProtectionLevel, corresponding
to the |
Signature | 2 | System-level value for ProtectionLevel, corresponding
to the |
SignatureOrSystem | 3 | |
Internal | 4 | |
MaskBase | 15 | Mask for ProtectionLevel: the basic protection type. |
FlagPrivileged | 16 | |
FlagSystem | 16 | Additional flag for ProtectionLevel, corresponding
to the |
FlagDevelopment | 32 | Additional flag for ProtectionLevel, corresponding
to the |
FlagAppop | 64 | |
FlagPre23 | 128 | |
FlagInstaller | 256 | |
FlagVerifier | 512 | |
FlagPreinstalled | 1024 | |
FlagSetup | 2048 | |
FlagInstant | 4096 | |
FlagRuntimeOnly | 8192 | |
MaskFlags | 65520 | Mask for ProtectionLevel: additional flag bits. |
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.