Generates a byte array for a given TLV encoding type.

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

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

Parameters

nEncoding
Type: CardDataObjectEncoding

The expected type of TLV encoding. Through this parameter the caller can specify whether the data is BER-TLV or SIMPLE-TLV encoded.

Return Value

Type: byte[]

A byte[].

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