Show / Hide Table of Contents

ApduException Class

Namespace: Yubico.Core.Iso7816 Assembly: Yubico.Core.dll

The exception that is thrown when an ISO 7816 application has encountered an error.

C#
[Serializable]
public class ApduException : Exception
Inheritance object Exception ApduException

Constructors

Name Description
ApduException()

Initializes a new instance of the ApduException class with a default message.

ApduException(SerializationInfo, StreamingContext)
ApduException(string)

Initializes a new instance of the ApduException class with a specified error message.

ApduException(string, Exception)

Initializes a new instance of the ApduException class with a specified error message and a reference to the inner exception that is the cause of this exception.

Properties

Name Description
Cla

Gets or sets the APDU class associated with this exception.

Ins

Gets or sets the APDU instruction associated with this exception.

P1

Gets or sets the P1 parameter associated with this exception.

P2

Gets or sets the P2 parameter associated with this exception.

SW

Gets or sets the status word (SW), the ISO 7816 numerical value which represents the specific error or warning encountered.

In this article
Back to top Generated by DocFX