KeyContainerPermissionAttribute.Flags Property
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.
Gets or sets the key container permissions.
public:
property System::Security::Permissions::KeyContainerPermissionFlags Flags { System::Security::Permissions::KeyContainerPermissionFlags get(); void set(System::Security::Permissions::KeyContainerPermissionFlags value); };
public System.Security.Permissions.KeyContainerPermissionFlags Flags { get; set; }
member this.Flags : System.Security.Permissions.KeyContainerPermissionFlags with get, set
Public Property Flags As KeyContainerPermissionFlags
Property Value
A bitwise combination of the KeyContainerPermissionFlags values. The default is NoFlags.
Remarks
Caution
Many of these flags are powerful and permit access to key containers that should be granted only to highly trusted code.
The most powerful of the flags are Create, Delete, Import, Export, Sign, Decrypt, and AllFlags. For specific threats posed by the use of these flags, see individual flag descriptions.