This documentation is archived and is not being maintained.

CryptoKeyRights Enumeration

Specifies the cryptographic key operation for which an authorization rule controls access or auditing.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

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

[FlagsAttribute]
public enum class CryptoKeyRights

Member nameDescription
ReadDataRead the key data.
WriteDataWrite key data.
ReadExtendedAttributesRead extended attributes of the key.
WriteExtendedAttributesWrite extended attributes of the key.
ReadAttributesRead attributes of the key.
WriteAttributesWrite attributes of the key.
DeleteDelete the key.
ReadPermissionsRead permissions for the key.
ChangePermissionsChange permissions for the key.
TakeOwnershipTake ownership of the key.
SynchronizeUse the key for synchronization.
FullControlFull control of the key.
GenericAllA combination of GenericRead and GenericWrite.
GenericExecuteNot used.
GenericWriteWrite the key data, extended attributes of the key, attributes of the key, and permissions for the key.
GenericReadRead the key data, extended attributes of the key, attributes of the key, and permissions for the key.

.NET Framework

Supported in: 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: