Creates a CardResponseAPDU instance by parsing a response APDU given as a range inside a
byte array.
Namespace:
CardWerk.SmartCard
Assembly: CardWerk.SmartCard (in CardWerk.SmartCard.dll)
Assembly: CardWerk.SmartCard (in CardWerk.SmartCard.dll)
Public Shared Function ParseBytes( _
ByVal vbResponseAPDU As Byte(), _
ByVal nOffset As Integer, _
ByVal nLength As Integer _
) As CardResponseAPDU
This language is not supported or no code example is available.
public static CardResponseAPDU ParseBytes(
byte[] vbResponseAPDU,
int nOffset,
int nLength
)
This language is not supported or no code example is available.
public:
static CardResponseAPDU^ ParseBytes(
array< Byte >^ vbResponseAPDU,
int nOffset,
int nLength
)
This language is not supported or no code example is available.
Parameters
- vbResponseAPDU
-
Type: byte[]
Byte array that contains the response APDU. The parameter must not be null.
- nOffset
-
Type: int
Offset into the byte array where the response APDU begins.
- nLength
-
Type: int
Length of the response APDU inside the byte array.
Return Value
Type: CardResponseAPDUA CardResponseAPDU.
Exception type | Condition |
---|---|
The given response APDU is not a valid ISO 7816-4 response APDU or the nOffset or the nLength parameter was invalid. |
|
The parameter vbResponseAPDU was null. |
Marc, 9/29/2022.