Export (0) Print
Expand All

CspKeyContainerInfo.CryptoKeySecurity Property

Gets a CryptoKeySecurity object that represents access rights and audit rules for a container.

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

public CryptoKeySecurity CryptoKeySecurity { get; }

Property Value

Type: System.Security.AccessControl.CryptoKeySecurity
A CryptoKeySecurity object that represents access rights and audit rules for a container.

ExceptionCondition
CryptographicException

The key type is not supported.

NotSupportedException

The cryptographic service provider cannot be found.

-or-

The key container was not found.

Use the CspKeyContainerInfo property to retrieve the CryptoKeySecurity object that manages the creation of discretionary access control lists (DACLS) and system access control lists (SACLS) for a container.

Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0, 2.0

Community Additions

ADD
Show:
© 2014 Microsoft