KeyContainerPermissionAccessEntry.Flags Property


Gets or sets the key container permissions.

 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.



Many of these flags are powerful and permit access to key containers that should only be granted 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.

Applies to