Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

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 */
public CryptoKeySecurity get_CryptoKeySecurity ()

public function get CryptoKeySecurity () : CryptoKeySecurity

Not applicable.

Property Value

A CryptoKeySecurity object that represents access rights and audit rules for a container.
Exception typeCondition

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 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.