Page 1
Secure Card Reader Authenticator .NET/PCL Programmer’s Reference (Windows/Windows Phone) October 2016 Manual Part Number: D99875723-50 REGISTERED TO ISO 9001:2008 MagTek I 1710 Apollo Court I Seal Beach, CA 90740 I Phone: (562) 546-6400 I Technical Support: (888) 624-8350 www.magtek.com...
Page 2
No part of this document may be reproduced or transmitted in any form or by any means, electronic or mechanical, for any purpose, without the express written permission of MagTek, Inc. MagTek® is a registered trademark of MagTek, Inc.
ATTENTION: CUSTOMER SUPPORT. TERMS, CONDITIONS, AND RESTRICTIONS MagTek, Incorporated (the "Licensor") owns and has the right to distribute the described software and documentation, collectively referred to as the "Software." LICENSE: Licensor grants you (the "Licensee") the right to use the Software in conjunction with MagTek products.
Page 4
Agreement and will not affect the enforceability of any of the remaining provisions. This Agreement shall be governed by the laws of the State of California and shall inure to the benefit of MagTek, Incorporated, its successors or assigns.
How to Set Up Headset Interface on Windows Phone ..........12 How to Set Up the MagTek SCRA SDK for .NET Projects ..........12 How to Set Up the MagTek SCRA SDK for Universal App and Windows Store App Projects ............................12 MTSCRA Class Methods ......................
Windows tablet device or Windows Phone mobile device. About MTSCRA Library Custom Windows software installed on a host PC can communicate with MagTek SCRA devices via the Audio/Headset Interface, Bluetooth, BLE (Bluetooth 4.0 Low Energy), or USB using the MTSCRA library.
How to Set Up How to Set Up Headset Interface on Windows PC on Windows PC To set up the headset interface on Windows PC to communicate with the MagTek SCRA device, follow these steps: 1) Connect the device to the headset jack of the Windows PC.
Page 10
2 - How to Set Up Figure 2-1 Device Volume Level Set to 100 Figure 2-2 Microphone Boost Turned Off aDynamo, uDynamo, Dynamag, DynaMAX, eDynamo, BulleT, mDynamo| Secure Card Reader Authenticator | .NET/PCL Programmer’s Reference (Windows/Windows Phone) Page 10...
Page 11
2 - How to Set Up Figure 2-3 Enhancements Turned Off Figure 2-4 Effects Turned Off aDynamo, uDynamo, Dynamag, DynaMAX, eDynamo, BulleT, mDynamo| Secure Card Reader Authenticator | .NET/PCL Programmer’s Reference (Windows/Windows Phone) Page 11...
Phone. How to Set Up the MagTek SCRA SDK for .NET Projects To add the MagTek SCRA libraries to a .NET project in Microsoft Visual Studio, follow these steps: 1) Create or open your .NET project in Visual Studio. 2) Copy the following DLL files from the MTNETDemo folders to the library folder of your software project: ...
Page 13
7) Begin using the features provided by the MagTekSCRA library. Details about each methods are provided in section 9 MTSCRA Class Methods. aDynamo, uDynamo, Dynamag, DynaMAX, eDynamo, BulleT, mDynamo| Secure Card Reader Authenticator | .NET/PCL Programmer’s Reference (Windows/Windows Phone) Page 13...
Each of these properties allows the application to specify masking details for the Primary Account Number and Driver’s License / ID Number (DL/ID#), the masking character to be used, and whether a aDynamo, uDynamo, Dynamag, DynaMAX, eDynamo, BulleT, mDynamo| Secure Card Reader Authenticator | .NET/PCL Programmer’s Reference (Windows/Windows Phone)
This field is stored in non-volatile memory, so it will persist when the unit is power cycled. public string getDeviceSerial() Parameters: None aDynamo, uDynamo, Dynamag, DynaMAX, eDynamo, BulleT, mDynamo| Secure Card Reader Authenticator | .NET/PCL Programmer’s Reference (Windows/Windows Phone) Page 20...
Parameters: None Tag to search for data Data to search from Return Value: String representing tag value 3.50 getTLVVersion Retrieves TLV version. aDynamo, uDynamo, Dynamag, DynaMAX, eDynamo, BulleT, mDynamo| Secure Card Reader Authenticator | .NET/PCL Programmer’s Reference (Windows/Windows Phone) Page 28...
This event occurs when the state of the card information is changed. public event CardDataStateHandler OnCardDataState public delegate void CardDataStateHandler(object sender, MTCardDataState state) aDynamo, uDynamo, Dynamag, DynaMAX, eDynamo, BulleT, mDynamo| Secure Card Reader Authenticator | .NET/PCL Programmer’s Reference (Windows/Windows Phone) Page 33...
Object representing the publisher of the event data Byte array containing the data received from the device. See table below for descriptions of the data. aDynamo, uDynamo, Dynamag, DynaMAX, eDynamo, BulleT, mDynamo| Secure Card Reader Authenticator | .NET/PCL Programmer’s Reference (Windows/Windows Phone) Page 34...
Object representing the publisher of the event data Byte array containing the data received from the device. See table below for descriptions of the data. aDynamo, uDynamo, Dynamag, DynaMAX, eDynamo, BulleT, mDynamo| Secure Card Reader Authenticator | .NET/PCL Programmer’s Reference (Windows/Windows Phone) Page 36...
Object representing the publisher of the event data Byte array containing the result code received from the device. See table below for descriptions of the result code. aDynamo, uDynamo, Dynamag, DynaMAX, eDynamo, BulleT, mDynamo| Secure Card Reader Authenticator | .NET/PCL Programmer’s Reference (Windows/Windows Phone) Page 37...
The first two bytes represent the result codes for the extended command. The next two bytes (most significant byte first) indicate the total length of the following data in bytes. aDynamo, uDynamo, Dynamag, DynaMAX, eDynamo, BulleT, mDynamo| Secure Card Reader Authenticator | .NET/PCL Programmer’s Reference (Windows/Windows Phone) Page 38...
The Value inside tag DFDF59 is encrypted and contains the following after decryption: FC<len>/* container for encrypted generic data */ <tags defined by DFDF02 > aDynamo, uDynamo, Dynamag, DynaMAX, eDynamo, BulleT, mDynamo| Secure Card Reader Authenticator | .NET/PCL Programmer’s Reference (Windows/Windows Phone) Page 41...
CBC-MAC (4 bytes, use MAC variant of MSR DUKPT key that was used in ARQC request, from message length up to and including ARQC padding, if any aDynamo, uDynamo, Dynamag, DynaMAX, eDynamo, BulleT, mDynamo| Secure Card Reader Authenticator | .NET/PCL Programmer’s Reference (Windows/Windows Phone)
Page 44
… /* < Merchant Data tags */ (Buffer if any to be a multiple of 8 bytes) CBC-MAC (4 bytes, always set to zeroes) aDynamo, uDynamo, Dynamag, DynaMAX, eDynamo, BulleT, mDynamo| Secure Card Reader Authenticator | .NET/PCL Programmer’s Reference (Windows/Windows Phone) Page 44...
Need help?
Do you have a question about the aDynamo and is the answer not in the manual?
Questions and answers