Assembly: CardWerk.SmartCard (in CardWerk.SmartCard.dll)
Parameters
- vbData
-
Type: byte[]
A byte array that provides the data for the data field for this response APDU. This parameter must not be null. This method allocates a new array and copies the data from the given array. It does not keep any reference to the given array.
- nOffset
-
Type: int
Offset into byte array where the first byte shall be taken from. This must not be negative and must be within the given byte array.
- nLength
-
Type: int
Number of bytes to take from the given byte array starting at nOffset. This must not be zero or negative. The entire length must fall inside the given byte array. The length must not be longer than MAXEXTENDEDLR = 65536 bytes.
- nSW
-
Type: int
The status word SW as an integer in the range from 0x0000 through 0xFFFF.
Exception type | Condition |
---|---|
Thrown when one or more arguments are outside the required range. |
|
Thrown when one or more required arguments are null. |