Reads card data.

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

Public Function Read( _ 
ByVal fileNumber As Integer, _ 
ByVal offset As Integer, _ 
ByVal length As Integer
) As Byte()
This language is not supported or no code example is available.
public byte[] Read( 
int fileNumber
int offset
int length 
)
This language is not supported or no code example is available.
public:  
array< Byte >^ Read( 
int fileNumber
int offset
int length 
)
This language is not supported or no code example is available.
public function Read( 
fileNumber : int
offset : int
length : int 
) : byte[];
This language is not supported or no code example is available.

Parameters

fileNumber
Type: int

three byte file number.

offset
Type: int

offset within the file starting with zero.

length
Type: int

number of bytes to be read. If length and offset are set to zero, all available bytes are returned.

Return Value

Type: byte[]

A byte[].

Exception type Condition

ArgumentNullException

Thrown when one or more required arguments are null.

This method supports all communication modes.

.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