> For the complete documentation index, see [llms.txt](https://developer.magtek.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.magtek.com/sdks-and-tools/sdks-and-software-libraries/magnesafe-v5-sdks/programmers-manual-.net-pcl/mtscra-class-methods.md).

# MTSCRA Class Methods

After you create an instance of the MTSCRA class, you use its methods to find and connect to readers, retrieve card and device data, send commands, and run EMV transactions. The 61 methods are split across six pages, in the same order as the original manual. Methods marked "EMV Device Only" work only with EMV-capable readers. To check what a connected reader supports, use isDeviceEMV or getDeviceFeatures.

### In This Section

<table data-header-hidden><thead><tr><th valign="middle"></th><th></th></tr></thead><tbody><tr><td valign="middle"><strong>Reference Section</strong></td><td><strong>Information Available</strong></td></tr><tr><td valign="middle"><a href="https://developer.magtek.com/sdks-and-tools/sdks-and-software-libraries/magnesafe-v5-sdks/programmers-manual-.net-pcl/mtscra-class-methods/mtscra-class-methods-1-10"><mark style="color:red;"><strong>MTSCRA Class Methods - 1 - 10</strong></mark></a></td><td>Finding and connecting to readers: requestDeviceList, setConnectionType, setAddress, setDeviceID, openDevice, closeDevice, and isDeviceConnected. Also isDeviceEMV, isDeviceOEM, and getMaskedTracks.</td></tr><tr><td valign="middle"><a href="https://developer.magtek.com/sdks-and-tools/sdks-and-software-libraries/magnesafe-v5-sdks/programmers-manual-.net-pcl/mtscra-class-methods/mtscra-class-methods-11-20"><mark style="color:red;"><strong>MTSCRA Class Methods - 11 - 20</strong></mark></a></td><td>.Track and security data from a swipe: getTrack1 through getTrack3 and their masked versions, getMagnePrint and getMagnePrintStatus (uDynamo only), getDeviceSerial, and getSessionID.</td></tr><tr><td valign="middle"><a href="https://developer.magtek.com/sdks-and-tools/sdks-and-software-libraries/magnesafe-v5-sdks/programmers-manual-.net-pcl/mtscra-class-methods/mtscra-class-methods-21-30"><mark style="color:red;"><strong>MTSCRA Class Methods - 21 - 30</strong></mark></a></td><td>Key, device, and capability details: getKSN, getDeviceName, clearBuffers, getBatteryLevel, getSwipeCount, and the capability methods getCapMagnePrint, getCapMagnePrintEncryption, getCapMagneSafe20Encryption, getCapMagStripeEncryption, and getCapMSR.</td></tr><tr><td valign="middle"><a href="https://developer.magtek.com/sdks-and-tools/sdks-and-software-libraries/magnesafe-v5-sdks/programmers-manual-.net-pcl/mtscra-class-methods/mtscra-class-methods-31-40"><mark style="color:red;"><strong>MTSCRA Class Methods - 31 - 40</strong></mark></a></td><td>Card data parsed from a swipe: getCapTracks, getCardDataCRC, getCardExpDate, getCardIIN, getCardLast4, getCardName, getCardPAN, getCardPANLength, getCardServiceCode, and getCardStatus.</td></tr><tr><td valign="middle"><a href="https://developer.magtek.com/sdks-and-tools/sdks-and-software-libraries/magnesafe-v5-sdks/programmers-manual-.net-pcl/mtscra-class-methods/mtscra-class-methods-41-50"><mark style="color:red;"><strong>MTSCRA Class Methods - 41 - 50</strong></mark></a></td><td>Card encoding, configuration, and response data: getCardEncodeType, getDataFieldCount, getHashCode, getDeviceConfig, getEncryptionStatus, getFirmware, getMagTekDeviceSerial, getResponseData, getResponseType, and getTagValue.</td></tr><tr><td valign="middle"><a href="https://developer.magtek.com/sdks-and-tools/sdks-and-software-libraries/magnesafe-v5-sdks/programmers-manual-.net-pcl/mtscra-class-methods/mtscra-class-methods-51-61"><mark style="color:red;"><strong>MTSCRA Class Methods - 51 - 61</strong></mark></a></td><td>Commands and EMV transactions: getTLVVersion, getTrackDecodeStatus, getSDKVersion, sendCommandToDevice, startTransaction, setUserSelectionResult, setAcquirerResponse, cancelTransaction, sendExtendedCommand, getDeviceFeatures, and getPowerManagementValue.</td></tr></tbody></table>

### Need More Help

{% hint style="info" %}
**Need Help?**

For additional support, please contact MagTek Support:

**Technical Support:**

* 📧 **Email:** [support@magtek.com](mailto:support@magtek.com?subject=Support%20Request)
* 📞 **Phone:** 1-562-546-6800 (US)
* 🕐 **Hours:** Monday-Friday, 5:30 AM - 5:00 PM Pacific

**Online Resources:**

* 🌐 **Support Portal:** developer.magtek.com
* 🌐 **Official Site:** [https://www.magtek.com](https://www.magtek.com/)

**Documentation Feedback:**

Help us improve this documentation! [feedback@magtek.com](mailto:feedback@magtek.com?subject=Feedback)
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://developer.magtek.com/sdks-and-tools/sdks-and-software-libraries/magnesafe-v5-sdks/programmers-manual-.net-pcl/mtscra-class-methods.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
