Table of Contents

Class CryptographicException

Namespace
System.Security.Cryptography
Assembly
System.Net.dll

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

public class CryptographicException : Exception
Inheritance
CryptographicException
Inherited Members
Extension Methods

Constructors

CryptographicException()

Initializes a new instance of the CryptographicException class.

public CryptographicException()

CryptographicException(int)

Initializes a new instance of the CryptographicException class with a specified error code.

public CryptographicException(int errorCode)

Parameters

errorCode int

The error code.

Properties

ErrorCode

Gets the error code that is associated with this exception.

public int ErrorCode { get; }

Property Value

int