Creates a CardCommandAPDU instance by parsing a command 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 vbCommandAPDU As Byte(), _
ByVal nOffset As Integer, _
ByVal nLength As Integer _
) As CardCommandAPDU
This language is not supported or no code example is available.
public static CardCommandAPDU ParseBytes(
byte[] vbCommandAPDU,
int nOffset,
int nLength
)
This language is not supported or no code example is available.
public:
static CardCommandAPDU^ ParseBytes(
array< Byte >^ vbCommandAPDU,
int nOffset,
int nLength
)
This language is not supported or no code example is available.
Parameters
- vbCommandAPDU
-
Type: byte[]
Array that contains the command APDU. The parameter must not be null.
- nOffset
-
Type: int
Offset into the byte array where the command APDU begins.
- nLength
-
Type: int
Length of the command APDU inside the byte array.
Return Value
Type: CardCommandAPDUReturns a new CardCommandAPDU instance that holds the parsed representation of the given raw command APDU.
Exception type | Condition |
---|---|
The given command APDU is not a valid ISO 7816-4 command APDU. |
|
The parameter vbCommandAPDU was |
Marc, 9/29/2022.