![Magtek DYNAMAG Programmer'S Reference Manual Download Page 17](http://html2.mh-extra.com/html/magtek/dynamag/dynamag_programmers-reference-manual_3646655017.webp)
3 - MTSCRA Library Functions
Dynamag, DynaMAX, and eDynamo| Secure Card Reader Authenticator | Programmer’s Reference (WCF)
Page 17
3.5
isDeviceConnected
Checks whether the opened device is connected or not.
bool isDeviceConnected ();
Return Value:
True for connected and opened, false for disconnected or closed.
3.6
isDeviceEMV
Checks whether the opened device support EMV function or not.
bool isDeviceEMV ();
Return Value:
True for device supports EMV. Otherwise device does not support EMV.
3.7
sendCommand
Sends a command to device and returns the raw response from device.
string sendCommand(string Command);
Parameter
Description
Command
Hex string for command. It does not include the length of command data.
Reference to V5 command for detail.
Return Value:
Hex string of device raw response for this command.
3.8
sendCommandWithLength
Sends a command to device and returns the raw response from device.
string sendCommandWithLength(string Command);
Parameter
Description
Command
Hex string for command. It includes the length of command data.
Reference to V5 command for detail.
Return Value:
Hex string of device raw response for this command.
3.9
getCardData
Retrieves last swipe card data.
string getCardData();
Return Value: