Construct a CardResponseAPDU instance from a the response data and the status word SW.

Namespace: CardWerk.SmartCard
Assembly: CardWerk.SmartCard (in CardWerk.SmartCard.dll)

Public Sub New( _ 
ByVal vbData As Byte(), _ 
ByVal nSW As Integer
)
This language is not supported or no code example is available.
public CardResponseAPDU( 
byte[] vbData
int nSW 
)
This language is not supported or no code example is available.
public:  
CardResponseAPDU( 
array< Byte >^ vbData
int nSW 
)
This language is not supported or no code example is available.
public function CardResponseAPDU( 
vbData : byte[], 
nSW : int 
);
This language is not supported or no code example is available.

Parameters

vbData
Type: byte[]

The response data just as it was received from the smart card. The parameter must not be null. Valid response data lengths range from 1 through MAXEXTENDEDLR = 65536.

nSW
Type: int

The status word SW as an integer in the range from 0x0000 through 0xFFFF.

Exception type Condition

ArgumentOutOfRangeException

Thrown when one or more arguments are outside the required range.

ArgumentNullException

Thrown when one or more required arguments are null.

Marc, 9/29/2022.

.NET Framework

Supported in: 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

.NET Core

Supported in: 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0

.NET Standard

Supported in: 2.0