# How to Use the MTCMS .NET Demo

To use the MTCMS .NET Demo, follow these steps.

### Send Command <a href="#id-3.1_send_command" id="id-3.1_send_command"></a>

* To send a command to the device, enter the command in the command text box and press the button.

<figure><img src="/files/F9wtqjAb4MT8tp46RuQE" alt=""><figcaption></figcaption></figure>

### Message Subscription

* To enable the MTCMS .NET Demo to receive message notifications, the Demo needs to first subscribe to messages. Select Auto in the Subscription list box to enable the Demo to Subscribe  after connecting to the device.

<figure><img src="/files/yQwG6bHFoDoh5vIESxSG" alt=""><figcaption></figcaption></figure>

* To stop the Demo from automatically subscribing to message notifications after connecting to a device, select Manual in the Subscription list box.&#x20;

<figure><img src="/files/kvxMcP1FhOUsRJoPbl5c" alt=""><figcaption></figcaption></figure>

* To disable the MTCMS .NET Demo from receiving message notifications from the currently connected device, first connect to the device and then press the Unsubscribe button.

<figure><img src="/files/NcuXmTyEFXcKh6PoHU0L" alt=""><figcaption></figcaption></figure>

### MSR Auto

* To automatically display magnetic stripe data after a card swipe, select Auto in the MSR Request \
  list box. This step needs only be done once on the currently connected device

<figure><img src="/files/Q5uDRSJ3Bp7FLwrGmcuV" alt=""><figcaption></figcaption></figure>

* Insert and remove a card from the device. The magnetic stripe data will be displayed in the status box.

<figure><img src="/files/2RNYinEO3JLN7tRcPxzO" alt=""><figcaption></figcaption></figure>

### MSR Manual

* To manually display magnetic stripe data after a card swipe, select Manual in the MSR Request list box. This step needs only be done once on the currently connected device.

<figure><img src="/files/jQu4jugIMKmPGIpY9T0w" alt=""><figcaption></figcaption></figure>

* Insert then remove a magnetic stripe card from the device. A notification will inform that MSR card data is available.

<figure><img src="/files/D0GapW6NlNwOotlcKmtS" alt=""><figcaption></figcaption></figure>

* Within 5 seconds of this notification (the device’s MSR data retention period), press the Request MSR Data button to receive the magnetic stripe data

<figure><img src="/files/ledMsEWgyHa4cdM6lAjE" alt=""><figcaption></figcaption></figure>

* If a manual request is not sent in time, the display will show empty data fields because the response has no magnetic stripe data.

<figure><img src="/files/hVlV2cPz8lZGM4jltXaP" alt=""><figcaption></figcaption></figure>

### Request PAN

* To request that PAN data, press the Request PAN button button immediately after pressing the Request MSR button.&#x20;
* Example sequence: Insert card > Remove card > Request MSR > Request PAN

<figure><img src="/files/zRexahCRnuBWZQMHsba4" alt=""><figcaption></figcaption></figure>

### EMV Transaction

* To perform an EMV transaction, insert the chip card, select the desired response from the Response list box, then press the Start button.

<figure><img src="/files/99VVEVljEjjQVAJeueTW" alt=""><figcaption></figcaption></figure>

* Follow any instructions for application or language selection.

<figure><img src="/files/eUd18oq6ffo4gJympP22" alt=""><figcaption></figcaption></figure>

* After the transaction, the status will be displayed.&#x20;

<figure><img src="/files/ijsPUlRqSwwhy8VKkcnL" alt=""><figcaption></figcaption></figure>

* 1To cancel the EMV transaction, press the Cancel button. Please note that the cancel feature will only work before the card is inserted (Not supported at this time).

### Device Info <a href="#id-3.7_device_info" id="id-3.7_device_info"></a>

* To view the device information, select the desired information from the Info list box, then press the Get Info button. An example of requesting Firmware information is shown below.

<figure><img src="/files/xo6ZVs9osHPvDYPBy3t1" alt=""><figcaption></figcaption></figure>

* To clear the screen, press the Clear button.

<figure><img src="/files/r3JyZBHhTrW4YmO098bx" alt=""><figcaption></figcaption></figure>

* To close the device, press the Disconnect button.

<figure><img src="/files/NMxABXfQtbRMW99xdtAY" alt=""><figcaption></figcaption></figure>

### Latch/Unlatch

* To demonstrate card Latch and Unlatch, press the Latch button and listen for an audible click. Now press the Unlatch button and listen for an audible click.

<figure><img src="/files/jExbWPa3wqgbKnAGo84h" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/hqMMRHCYIdCvZLvxYtAi" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://developer.magtek.com/hardware/oem-readers-and-components/oem-readers/odynamo/documentation/programmers-manuals/mtcmsnet-demo-guide/how-to-use-the-mtcms-.net-demo.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
