Loading card key to reader key slot using standard PCSC functions. The caller must set
key structure/number to a setting that works well with their reader.
Namespace:
CardWerk.SmartCard.CardModule.MifareClassic
Assembly: CardWerk.SmartCard.CardModule.MifareClassic (in CardWerk.SmartCard.CardModule.MifareClassic.dll)
Assembly: CardWerk.SmartCard.CardModule.MifareClassic (in CardWerk.SmartCard.CardModule.MifareClassic.dll)
Parameters
- keyStructure
-
Type: int
info about key type (A/B) and memory type (volatile/non volatile)
- keyNumber
-
Type: int
Key slot. This is a reader-specific slot index.
- keyValue
-
Type: byte[]
6-byte Mifare key that will be loaded to reader key slot.
Return Value
Type: boolTrue if it succeeds, false if it fails.
Exception type | Condition |
---|---|
Thrown when an exception error condition occurs. |