Adds or replaces the data field of this response APDU.
Namespace:
CardWerk.SmartCard
Assembly: CardWerk.SmartCard (in CardWerk.SmartCard.dll)
Assembly: CardWerk.SmartCard (in CardWerk.SmartCard.dll)
Public Sub SetData( _
ByVal vbData As Byte() _
)
This language is not supported or no code example is available.
Parameters
- vbData
-
Type: byte[]
The data field to be set for this response APDU. The length Lr is derived from the total length of this byte array. If this parameter is null, then any existing data field will be removed. If it is given, it must not be empty and must not be longer than MAXEXTENDEDLR = 65536 bytes.
The CardResponseAPDU will keep a direct reference to the given byte array and will not make a copy of it.
Exception type | Condition |
---|---|
Thrown when one or more arguments are outside the required range. |
Marc, 9/29/2022.