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)

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.
public static function ParseBytes( 
vbCommandAPDU : byte[], 
nOffset : int
nLength : int 
) : CardCommandAPDU;
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: CardCommandAPDU

Returns a new CardCommandAPDU instance that holds the parsed representation of the given raw command APDU.

Exception type Condition

ArgumentOutOfRangeException

The given command APDU is not a valid ISO 7816-4 command APDU.

ArgumentNullException

The parameter vbCommandAPDU was null.

Marc, 9/29/2022.

.NET Framework

Supported in: 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

.NET Core

Supported in: 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0

.NET Standard

Supported in: 2.0