KeyContainerPermissionAttribute.Flags Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets or sets the key container permissions.

Namespace:   System.Security.Permissions
Assembly:  mscorlib (in mscorlib.dll)

public KeyContainerPermissionFlags Flags { get; set; }

Property Value

Type: System.Security.Permissions.KeyContainerPermissionFlags

A bitwise combination of the KeyContainerPermissionFlags values. The default is NoFlags.

System_CAPS_cautionCaution

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.

.NET Framework
Available since 2.0
Return to top
Show: