System.Security.Cryptography.CspKeyContainerInfo Class

Provides additional information about a cryptographic key pair. This class cannot be inherited.

See Also: CspKeyContainerInfo Members

Syntax

[System.Runtime.InteropServices.ComVisible(true)]
public sealed class CspKeyContainerInfo

Remarks

Use this class to obtain additional information about a key pair, such as the key container name or the key number.

In cases where a random key is generated by the System.Security.Cryptography.RSACryptoServiceProvider or the System.Security.Cryptography.DSACryptoServiceProvider, a key container will not be created until you call a method that uses the key. Some properties of the System.Security.Cryptography.CspKeyContainerInfo class will throw a System.Security.Cryptography.CryptographicException if a key container has not been created.

Requirements

Namespace: System.Security.Cryptography
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0