Builds the final command APDU into a newly allocated byte array.

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

Public Function GenerateBytes() As Byte()
This language is not supported or no code example is available.
public byte[] GenerateBytes()
This language is not supported or no code example is available.
public:  
array< Byte >^ GenerateBytes()
This language is not supported or no code example is available.
public function GenerateBytes() : byte[];
This language is not supported or no code example is available.

Return Value

Type: byte[]

Byte array that contains the complete command APDU. This is what is actually sent to the smart card. This is never null. The minimum size of the returned array is MINLENGTH = 4 the maximum size of the returned array is MAXEXTENDEDLENGTH = 65544.

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