Creates a CardCommandAPDU instance by parsing a command APDU given as a byte array.

Namespace: CardWerk.SmartCard
Assembly: CardWerk.SmartCard (in CardWerk.SmartCard.dll)

Public Shared Function ParseBytes( _ 
ByVal vbCommandAPDU As Byte() _ 
) As CardCommandAPDU
This language is not supported or no code example is available.
public static CardCommandAPDU ParseBytes( 
byte[] vbCommandAPDU 
)
This language is not supported or no code example is available.
public:  
static CardCommandAPDU^ ParseBytes( 
array< Byte >^ vbCommandAPDU 
)
This language is not supported or no code example is available.
public static function ParseBytes( 
vbCommandAPDU : byte[] 
) : CardCommandAPDU;
This language is not supported or no code example is available.

Parameters

vbCommandAPDU
Type: byte[]

The complete command APDU just as it shall be sent to the smart card. The parameter must not be null.

Return Value

Type: CardCommandAPDU

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

Exception type Condition

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