Get stored key serial number. This 10-byte Binary field contains the DUKPT Key Serial Number used to encrypt the encrypted fields in this message. This 80-bit field includes the Initial Key Serial Number in the leftmost 59 bits and a value for the Encryption Counter in the rightmost 21 bits. If no keys are loaded, all bytes will have the value 0x00.
public string getKSN()
Parameters: None Return Value:
Return stored key serial number.
Get device model name.
public string getDeviceName()
Parameters: None
Return Value:
Return device model name.
Clears buffered data retrieved from the reader.
public void clearBuffers()
Parameters: None
Return Value: None
Retrieves battery level.
public long getBatteryLevel()
Parameters: None Return Value:
Battery Level (0 to 100)
Retrieves swipe count.
public long getSwipeCount()
Parameters: None
Return Value:
Long value representing swipe count. If the value is less than zero, it indicates the device does not support tracking of the number of card swipes.
Retrieves MagnePrint Capabilities.
public string getCapMagnePrint()
Parameters: None Return Value:
String representing MagnePrint capabilities:
0 = No MagnePrint,
1 = Short MagnePrint,
2 = Long MagnePrint
Retrieves MagnePrint Encryption Capabilities.
public string getCapMagnePrintEncryption()
Parameters: None Return Value:
String representing MagnePrint Encryption capabilities:
0 = No Encryption,
1 = Same as MagStripe (8122), other values TBD.
If absent, the default value is 1.
Retrieves MagneSafe 2.0 Encryption Capabilities.
public string getCapMagneSafe20Encryption ()
Parameters: None
Return Value:
String representing MagneSafe 2.0 Encryption Capabilities. 0 = Not supported, other values TBD.
Retrieves MagneStripe Encryption Capabilities.
public string getCapMagStripeEncryption()
Parameters: None Return Value:
String representing MagStripe Encryption Capabilities. 0 = No Encryption, 1 = TDES DUKPT / PIN Variant, other values TBD
Retrieves MSR Capabilities. public string getCapMSR() Parameters: None
Return Value:
String representing MSR Capabilities. 0 = No MSR, 1 = MSR.