CryptographicException Class
The exception that is thrown when an error occurs during a cryptographic operation.
For a list of all members of this type, see CryptographicException Members.
System.Object
System.Exception
System.SystemException
System.Security.Cryptography.CryptographicException
System.Security.Cryptography.CryptographicUnexpectedOperationException
[Visual Basic] <Serializable> Public Class CryptographicException Inherits SystemException [C#] [Serializable] public class CryptographicException : SystemException [C++] [Serializable] public __gc class CryptographicException : public SystemException [JScript] public Serializable class CryptographicException extends SystemException
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Remarks
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 CryptographicException, see the constructor.
Requirements
Namespace: System.Security.Cryptography
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
Assembly: Mscorlib (in Mscorlib.dll)
See Also
CryptographicException Members | System.Security.Cryptography Namespace | Exception | Handling and Throwing Exceptions | Cryptographic Services