SpringCard Smart Readers library for .NET  19.9.20
Communicate and manage SpringCard Smart Reader devices
SpringCard.SmartReader.MasterCardV1.MasterCardV1 Class Reference

The Master Card object represents the content (not the physical object) of a Master Card. The content is made of TLV objects. More...

Public Member Functions

delegate void TraceCallback (string line)
 
 MasterCardV1 ()
 Start talking with DLL, initialize required data for communication More...
 
bool EraseCard (IntPtr hCard)
 
bool WriteCard (List< TLV > registers, IntPtr hCard)
 Helper to write configuration registers to the card More...
 

Public Attributes

const string DllName = "iwm2_mastercard.dll"
 

Properties

byte [] CardUid [get]
 
byte [] AuthKey [get, set]
 
byte [] SignKey [get, set]
 

Detailed Description

The Master Card object represents the content (not the physical object) of a Master Card. The content is made of TLV objects.

Constructor & Destructor Documentation

◆ MasterCardV1()

SpringCard.SmartReader.MasterCardV1.MasterCardV1.MasterCardV1 ( )

Start talking with DLL, initialize required data for communication

Member Function Documentation

◆ WriteCard()

bool SpringCard.SmartReader.MasterCardV1.MasterCardV1.WriteCard ( List< TLV registers,
IntPtr  hCard 
)

Helper to write configuration registers to the card

Parameters
registersRegisters list
hCardCard's handle
errorMessageError message in case of problem
Returns
True if everything is ok else read errorMessage or Mastercard.LastError

The documentation for this class was generated from the following file: