Appends the given data block to the data field of this command APDU.

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

Public Sub AppendData( _ 
ByVal vbData As Byte() _ 
)
This language is not supported or no code example is available.
public void AppendData( 
byte[] vbData 
)
This language is not supported or no code example is available.
public:  
void AppendData( 
array< Byte >^ vbData 
)
This language is not supported or no code example is available.
public function AppendData( 
vbData : byte[] 
);
This language is not supported or no code example is available.

Parameters

vbData
Type: byte[]

The data to be appended to the data field for this command APDU. The length Lc is incremented by the total length of this byte array. This parameter must not be null.

Up to and including a total maximum length of 255 bytes, a command APDU with a short length field will be built. For data lengths from 256 bytes up to and including 65535 bytes, a command APDU with an extended length field will be built. Longer total sizes are not permitted.

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