Mtscra Library Functions; Getdevicelist; Getsdkversion; Opendevice - Magtek Dynamag Programmer's Reference Manual

Wcf, secure card reader authenticator
Hide thumbs Also See for Dynamag:
Table of Contents

Advertisement

3 - MTSCRA Library Functions

3
MTSCRA Library Functions
MagTek SCRA WCF Library can be hosted by service, IIS or any other application and it also can be
referenced just like a normal .Net dll.
3.1

getDeviceList

This function enumerate devices and return device URIs.
string getDeviceList(string deviceType = "");
Parameter
deviceType
Return Value:
A string with Devices URIs, delimited by ",".
3.2

getSDKVersion

Retrieves SDK version.
string getSDKVersion();
Return Value:
The version information of the SDK.
3.3

openDevice

Open an MTSCRA device.
int openDevice(string DeviceName);
Parameter
DeviceName
Return Value:
Zero for success, other for failed.
3.4

closeDevice

Close an MTSCRA device. It will release all resources attach to this device. If device is disconnected,
please call this function to release resource.
void closeDevice();
Return Value:
None.
Dynamag, DynaMAX, and eDynamo| Secure Card Reader Authenticator | Programmer's Reference (WCF)
Page 16
Specifies the device connection type to search. Can be "usb", "ble" or
"bleemv" or multiple types delimited by ",". If input is empty string or
null, means search all types.
URI for a device, it can be retrieved by function getDeviceList. If this
parameter is null or empty, will open the first device that can be found.
Description
Description

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Dynamag and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

DynamaxEdynamo

Table of Contents