System.Security.Cryptography.CryptographicException Class

The exception that is thrown when an error occurs during a cryptographic operation.

See Also: CryptographicException Members

Syntax

[System.Runtime.InteropServices.ComVisible(true)]
public class CryptographicException : SystemException

Remarks

System.Security.Cryptography.CryptographicException uses the HRESULT CORSEC_E_CRYPTO, unless an alternate error code is specified.

For a list of initial property values for an instance of System.Security.Cryptography.CryptographicException, see the constructor.

Requirements

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