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 command APDU. The length Lc is derived from the total length of this byte array. If this parameter is null, then any existing data field will be removed. The CardCommandAPDU will keep a direct reference to the given byte array and will not make a copy of it. Up to and including a 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 byte arrays are not permitted.
Exception type | Condition |
---|---|
Thrown when one or more arguments are outside the required range. |