Ref: http://www.nxp.com/documents/data_sheet/MF1S50YYX.pdf
Value blocks allow performing electronic purse functions (valid commands are: read, write,
increment, decrement, restore, transfer). Value blocks have a fixed data format which
permits error detection and correction and a backup management. Value: Signifies a signed
4-byte value. The LSB of a value is stored in the lowest address byte i.e 0x00000012 is
stored as 0x12000000. Negative values are stored in standard 2's complement format. For
reasons of data integrity and security, a value is stored three times, twice non-inverted
and once inverted Adr: Signifies a 1-byte address, which can be used to save the storage
address of a block, when implementing a powerful backup management. The address byte is
stored four times, twice inverted and non-inverted. During increment, decrement, restore
and transfer operations the address remains unchanged. It can only be altered via a write
command.
Namespace:
CardWerk.SmartCard.CardModule.MifareClassic
Assembly: CardWerk.SmartCard.CardModule.MifareClassic (in CardWerk.SmartCard.CardModule.MifareClassic.dll)
Top
Assembly: CardWerk.SmartCard.CardModule.MifareClassic (in CardWerk.SmartCard.CardModule.MifareClassic.dll)
Public Class MifareClassicValueBlock
This language is not supported or no code example is available.
public class MifareClassicValueBlock
This language is not supported or no code example is available.
public ref class MifareClassicValueBlock
This language is not supported or no code example is available.
Name | Description | |
---|---|---|
![]() |
Pack(int, long) | Packs value. |
![]() |
UnPack(byte[], ref int, ref long) | Unpacks value. |