
MTSCRA Class Methods - 21 - 30
getKSN
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.
getDeviceName
Get device model name.
public string getDeviceName()
Parameters: None
Return Value:
Return device model name.
clearBuffers
Clears buffered data retrieved from the reader.
public void clearBuffers()
Parameters: None
Return Value: None
getBatteryLevel
Retrieves battery level.
public long getBatteryLevel()
Parameters: None Return Value:
Battery Level (0 to 100)
getSwipeCount
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.
getCapMagnePrint
Retrieves MagnePrint Capabilities.
public string getCapMagnePrint()
Parameters: None Return Value:
String representing MagnePrint capabilities:
0 = No MagnePrint,
1 = Short MagnePrint,
2 = Long MagnePrint
getCapMagnePrintEncryption
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.
getCapMagneSafe20Encryption
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.
getCapMagStripeEncryption
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
1.10 getCapMSR
Retrieves MSR Capabilities. public string getCapMSR() Parameters: None
Return Value:
String representing MSR Capabilities. 0 = No MSR, 1 = MSR.
Last updated

