How To Set Up The Magtek Scra Libraries; How To Setup Up The Magtek Scra Development Environment; How To Connect Mtscra Wcf Service To Wcf Host Demo; Connect Web Service In C# Project - Magtek Dynamag Programmer's Reference Manual

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

Advertisement

2 - How to Set Up the MagTek SCRA Libraries

2
How to Set Up the MagTek SCRA Libraries
2.1

How to Setup Up the MagTek SCRA Development Environment

To set up the MTSCRA Libraries, follow these steps:
1) Download the Dynamag, DynaMAX, and eDynamo Secure Card Reader Authenticator Windows
API Install, available from MagTek.com
(Support > Software > Programming Tools > Dynamag, DynaMAX, and eDynamo Secure Card
Reader Authenticator Windows API>
Dynamag, DynaMAX, and eDynamo SCRA Windows API)
2) Right-click
99510133.exe
dependencies in appropriate paths.
To build and run the MTSCRA Demo software, follow these steps:
1) For 64-bit machine, launch Visual Studio 2013 and open
Windows SDK\Sample Code\CPP\Source\VCDemo.vcxproj
2) For 32-bit machine, launch Visual Studio 2013 and open
Windows SDK\Sample Code\CPP\Source\VCDemo.vcxproj
3) In the
Solution Explorer
4) Select
>
Build
Build VCDemo
5) Select
->
Debug
Start Without Debugging
to run the MTSCRA Demo in debug mode.
Debugging
2.2

How to Connect MTSCRA WCF Service to WCF Host Demo

To use the WCF Host Demo (MTSCRAWCFHost.exe) use base address
and add two endpoints on it.
<endpoint address="ajax" binding="webHttpBinding" behaviorConfiguration="ajaxBehavior"
contract="MTSCRAWCF.IMTSCRA" />
<endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" />

2.2.1 Connect web service in C# Project

1) Open your C# project
2) Select
->
PROJECT
Dynamag, DynaMAX, and eDynamo| Secure Card Reader Authenticator | Programmer's Reference (WCF)
Page 9
and select
Run as administrator
, select
.
VCDemo
, or press
Shift-F6
to run the MTSCRA Demo, or select
Add Service Reference
. The installer will place all
C:\Program Files (x86)\MagTek\SCRA
C:\Program Files\MagTek\SCRA
to build the MTSCRA Demo.
http://localhost:8090/MTSCRA
->
Debug
Start

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