Assembly: CardWerk.SmartCard (in CardWerk.SmartCard.dll)
Parameters
- nCLA
-
Type: byte
Class byte.
- nINS
-
Type: byte
Instruction byte.
- nP1
-
Type: byte
First parameter byte.
- nP2
-
Type: byte
Second parameter byte.
- vbData
-
Type: byte[]
Complete data field of command APDU. 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 and empty byte arrays are not permitted.
- nLe
-
Type: int
Length of expected data. If the value is in the range 0 through 256, then a command APDU with a short length field will be built. If the value is in the range 257 through 65536, then a command APDU with an extended length field will be built.
If no length field Le shall be included, then the case 1 constructor must be used.
Exception type | Condition |
---|---|
Thrown when one or more arguments are outside the required range. |
|
Thrown when one or more required arguments are null. |