Writes 8-byte data block to an iCLASS card. This requires previous authentication under the key protecting this block. Book and page are selected implicitly within Authenticate() method.

Namespace: CardWerk.SmartCard.CardModule.HID.ICLASS
Assembly: CardWerk.SmartCard.CardModule.HID.ICLASS (in CardWerk.SmartCard.CardModule.HID.ICLASS.dll)

Public Function Write( _ 
ByVal block As Integer, _ 
ByVal dataToWrite As Byte() _ 
) As Boolean
This language is not supported or no code example is available.
public bool Write( 
int block
byte[] dataToWrite 
)
This language is not supported or no code example is available.
public:  
bool Write( 
int block
array< Byte >^ dataToWrite 
)
This language is not supported or no code example is available.
public function Write( 
block : int
dataToWrite : byte[] 
) : boolean;
This language is not supported or no code example is available.

Parameters

block
Type: int

block number within current page.

dataToWrite
Type: byte[]

eight byte data block

Return Value

Type: bool

.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