Cryptware

The PCSCException type exposes the following members.

Constructors

  Name Description
PCSCException
Initializes a new instance of the PCSCException class.

Methods

  Name Description
Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
GetBaseException
When overridden in a derived class, returns the Exception that is the root cause of one or more subsequent exceptions.
(Inherited from Exception.)
GetHashCode
Serves as a hash function for a particular type. GetHashCode()()() is suitable for use in hashing algorithms and data structures like a hash table.
(Inherited from Object.)
GetObjectData
When overridden in a derived class, sets the SerializationInfo with information about the exception.
(Inherited from Exception.)
GetType
Gets the runtime type of the current instance.
(Inherited from Exception.)
MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
ToString
Creates and returns a string representation of the current exception.
(Inherited from Exception.)

Fields

  Name Description
SCARD_E_BAD_SEEK
MessageId: SCARD_E_BAD_SEEK MessageText: There was an error trying to set the smart card file object pointer.
SCARD_E_CANCELLED
MessageId: SCARD_E_CANCELLED MessageText: The action was cancelled by an SCardCancel request.
SCARD_E_CANT_DISPOSE
MessageId: SCARD_E_CANT_DISPOSE MessageText: The system could not dispose of the media in the requested manner.
SCARD_E_CARD_UNSUPPORTED
MessageId: SCARD_E_CARD_UNSUPPORTED MessageText: The smart card does not meet minimal requirements for support.
SCARD_E_CERTIFICATE_UNAVAILABLE
MessageId: SCARD_E_CERTIFICATE_UNAVAILABLE MessageText: The requested certificate could not be obtained.
SCARD_E_COMM_DATA_LOST
MessageId: SCARD_E_COMM_DATA_LOST MessageText: A communications error with the smart card has been detected. Retry the operation.
SCARD_E_DIR_NOT_FOUND
MessageId: SCARD_E_DIR_NOT_FOUND MessageText: The identified directory does not exist in the smart card.
SCARD_E_DUPLICATE_READER
MessageId: SCARD_E_DUPLICATE_READER MessageText: The reader driver did not produce a unique reader name.
SCARD_E_FILE_NOT_FOUND
MessageId: SCARD_E_FILE_NOT_FOUND MessageText: The identified file does not exist in the smart card.
SCARD_E_ICC_CREATEORDER
MessageId: SCARD_E_ICC_CREATEORDER MessageText: The requested order of object creation is not supported.
SCARD_E_ICC_INSTALLATION
MessageId: SCARD_E_ICC_INSTALLATION MessageText: No Primary Provider can be found for the smart card.
SCARD_E_INSUFFICIENT_BUFFER
MessageId: SCARD_E_INSUFFICIENT_BUFFER MessageText: The data buffer to receive returned data is too small for the returned data.
SCARD_E_INVALID_ATR
MessageId: SCARD_E_INVALID_ATR MessageText: An ATR obtained from the registry is not a valid ATR string.
SCARD_E_INVALID_CHV
MessageId: SCARD_E_INVALID_CHV MessageText: The supplied PIN is incorrect.
SCARD_E_INVALID_HANDLE
MessageId: SCARD_E_INVALID_HANDLE MessageText: The supplied handle was invalid.
SCARD_E_INVALID_PARAMETER
MessageId: SCARD_E_INVALID_PARAMETER MessageText: One or more of the supplied parameters could not be properly interpreted.
SCARD_E_INVALID_TARGET
MessageId: SCARD_E_INVALID_TARGET MessageText: Registry startup information is missing or invalid.
SCARD_E_INVALID_VALUE
MessageId: SCARD_E_INVALID_VALUE MessageText: One or more of the supplied parameters values could not be properly interpreted.
SCARD_E_NO_ACCESS
MessageId: SCARD_E_NO_ACCESS MessageText: Access is denied to this file.
SCARD_E_NO_DIR
MessageId: SCARD_E_NO_DIR MessageText: The supplied path does not represent a smart card directory.
SCARD_E_NO_FILE
MessageId: SCARD_E_NO_FILE MessageText: The supplied path does not represent a smart card file.
SCARD_E_NO_KEY_CONTAINER
MessageId: SCARD_E_NO_KEY_CONTAINER MessageText: The requested key container does not exist on the smart card.
SCARD_E_NO_MEMORY
MessageId: SCARD_E_NO_MEMORY MessageText: Not enough memory available to complete this command.
SCARD_E_NO_READERS_AVAILABLE
MessageId: SCARD_E_NO_READERS_AVAILABLE MessageText: Cannot find a smart card reader.
SCARD_E_NO_SERVICE
MessageId: SCARD_E_NO_SERVICE MessageText: The Smart card resource manager is not running.
SCARD_E_NO_SMARTCARD
MessageId: SCARD_E_NO_SMARTCARD MessageText: The operation requires a Smart Card, but no Smart Card is currently in the device.
SCARD_E_NO_SUCH_CERTIFICATE
MessageId: SCARD_E_NO_SUCH_CERTIFICATE MessageText: The requested certificate does not exist.
SCARD_E_NOT_READY
MessageId: SCARD_E_NOT_READY MessageText: The reader or smart card is not ready to accept commands.
SCARD_E_NOT_TRANSACTED
MessageId: SCARD_E_NOT_TRANSACTED MessageText: An attempt was made to end a non-existent transaction.
SCARD_E_PCI_TOO_SMALL
MessageId: SCARD_E_PCI_TOO_SMALL MessageText: The PCI Receive buffer was too small.
SCARD_E_PROTO_MISMATCH
MessageId: SCARD_E_PROTO_MISMATCH MessageText: The requested protocols are incompatible with the protocol currently in use with the smart card.
SCARD_E_READER_UNAVAILABLE
MessageId: SCARD_E_READER_UNAVAILABLE MessageText: The specified reader is not currently available for use.
SCARD_E_READER_UNSUPPORTED
MessageId: SCARD_E_READER_UNSUPPORTED MessageText: The reader driver does not meet minimal requirements for support.
SCARD_E_SERVER_TOO_BUSY
MessageId: SCARD_E_SERVER_TOO_BUSY MessageText: The Smart card resource manager is too busy to complete this operation.
SCARD_E_SERVICE_STOPPED
MessageId: SCARD_E_SERVICE_STOPPED MessageText: The Smart card resource manager has shut down.
SCARD_E_SHARING_VIOLATION
MessageId: SCARD_E_SHARING_VIOLATION MessageText: The smart card cannot be accessed because of other connections outstanding.
SCARD_E_SYSTEM_CANCELLED
MessageId: SCARD_E_SYSTEM_CANCELLED MessageText: The action was cancelled by the system, presumably to log off or shut down.
SCARD_E_TIMEOUT
MessageId: SCARD_E_TIMEOUT MessageText: The user-specified timeout value has expired.
SCARD_E_UNEXPECTED
MessageId: SCARD_E_UNEXPECTED MessageText: An unexpected card error has occurred.
SCARD_E_UNKNOWN_CARD
MessageId: SCARD_E_UNKNOWN_CARD MessageText: The specified smart card name is not recognized.
SCARD_E_UNKNOWN_READER
MessageId: SCARD_E_UNKNOWN_READER MessageText: The specified reader name is not recognized.
SCARD_E_UNKNOWN_RES_MNG
MessageId: SCARD_E_UNKNOWN_RES_MNG MessageText: An unrecognized error code was returned from a layered component.
SCARD_E_UNSUPPORTED_FEATURE
MessageId: SCARD_E_UNSUPPORTED_FEATURE MessageText: This smart card does not support the requested feature.
SCARD_E_WRITE_TOO_MANY
MessageId: SCARD_E_WRITE_TOO_MANY MessageText: The smartcard does not have enough memory to store the information.
SCARD_F_COMM_ERROR
MessageId: SCARD_F_COMM_ERROR MessageText: An internal communications error has been detected.
SCARD_F_INTERNAL_ERROR
MessageId: SCARD_F_INTERNAL_ERROR MessageText: An internal consistency check failed.
SCARD_F_UNKNOWN_ERROR
MessageId: SCARD_F_UNKNOWN_ERROR MessageText: An internal error has been detected, but the source is unknown.
SCARD_F_WAITED_TOO_LONG
MessageId: SCARD_F_WAITED_TOO_LONG MessageText: An internal consistency timer has expired.
SCARD_P_SHUTDOWN
MessageId: SCARD_P_SHUTDOWN MessageText: The operation has been aborted to allow the server application to exit.
SCARD_S_SUCCESS
SCARD_W_CANCELLED_BY_USER
MessageId: SCARD_W_CANCELLED_BY_USER MessageText: The action was cancelled by the user.
SCARD_W_CARD_NOT_AUTHENTICATED
MessageId: SCARD_W_CARD_NOT_AUTHENTICATED MessageText: No PIN was presented to the smart card.
SCARD_W_CHV_BLOCKED
MessageId: SCARD_W_CHV_BLOCKED MessageText: The card cannot be accessed because the maximum number of PIN entry attempts has been reached.
SCARD_W_EOF
MessageId: SCARD_W_EOF MessageText: The end of the smart card file has been reached.
SCARD_W_REMOVED_CARD
MessageId: SCARD_W_REMOVED_CARD MessageText: The smart card has been removed, so that further communication is not possible.
SCARD_W_RESET_CARD
MessageId: SCARD_W_RESET_CARD MessageText: The smart card has been reset, so any shared state information is invalid.
SCARD_W_SECURITY_VIOLATION
MessageId: SCARD_W_SECURITY_VIOLATION MessageText: Access was denied because of a security violation.
SCARD_W_UNPOWERED_CARD
MessageId: SCARD_W_UNPOWERED_CARD MessageText: Power has been removed from the smart card, so that further communication is not possible.
SCARD_W_UNRESPONSIVE_CARD
MessageId: SCARD_W_UNRESPONSIVE_CARD MessageText: The smart card is not responding to a reset.
SCARD_W_UNSUPPORTED_CARD
MessageId: SCARD_W_UNSUPPORTED_CARD MessageText: The reader cannot communicate with the smart card, due to ATR configuration conflicts.
SCARD_W_WRONG_CHV
MessageId: SCARD_W_WRONG_CHV MessageText: The card cannot be accessed because the wrong PIN was presented.
WAIT_TIMEOUT
WAIT_TIMEOUT

Properties

  Name Description
Data
Gets a collection of key/value pairs that provide additional, user-defined information about the exception.
(Inherited from Exception.)
ErrorCode
Gets the error code.
HelpLink
Gets or sets a link to the help file associated with this exception.
(Inherited from Exception.)
HResult
Gets or sets HRESULT, a coded numerical value that is assigned to a specific exception.
(Inherited from Exception.)
InnerException
Gets the Exception instance that caused the current exception.
(Inherited from Exception.)
Message
Gets a message that describes the current exception.
(Inherited from Exception.)
Source
Gets or sets the name of the application or the object that causes the error.
(Inherited from Exception.)
StackTrace
Gets a string representation of the frames on the call stack at the time the current exception was thrown.
(Inherited from Exception.)
TargetSite
Gets the method that throws the current exception.
(Inherited from Exception.)

See Also