Loads key to reader. Key can be card key or reader key. The key stored on the card itself can't be changed with this method.

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

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

Parameters

keyStructure
Type: int

Card/ReaderKey | Plain/SecureTransmission | StoredInVolatile/NonVolatileMemory

keyReference
Type: int

key number on the reader

keyValue
Type: byte[]

key value, 8-byte PicoPass key

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