![Magtek ADYNAMO Programmer'S Reference Manual Download Page 17](http://html1.mh-extra.com/html/magtek/adynamo/adynamo_programmers-reference-manual_3704666017.webp)
3 –MTSCRA Class Methods
aDynamo, uDynamo, Dynamag, DynaMAX, eDynamo, BulleT| Secure Card Reader Authenticator | Programmer’s Reference (Android)
Page 17 of 42 (
D99875728-31
)
3.20
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.
3.21
getDeviceName
Get device model name.
public string getDeviceName()
Parameters: None
Return Value:
Return device model name.
3.22
clearBuffers
Clears buffered data retrieved from the reader.
public void clearBuffers()
Parameters: None
Return Value: None
3.23
getBatteryLevel
Retrieves battery level.
public long getBatteryLevel()
Parameters: None
Return Value:
Battery Level (0 to 100)
3.24
getSwipeCount
Retrieves swipe count.
public long getSwipeCount()
Parameters: None
Return Value:
Long value representing swipe count.