
How to Set Up the MagTek CMS SDK for .NET Projects
Custom Windows software installed on a host PC can communicate with MagTek Common Message Structure (MTCMS) devices via USB, network interface, or serial interface using the MTCMS library.
The supported platforms for .NET projects include Windows 7, Windows 8/8.1, and Windows 10. The .NET project should contain references to the main library file: MTCMSNET.dll.
To add the MagTek CMS library to a .NET project in Microsoft Visual Studio, follow these steps:
Create or open your .NET project in Visual Studio.
Copy the following DLL file from the Library folders to the library folder of your software project: MTCMSNET.dll.
In the Visual Studio Solution Explorer, right-click the project and select Add Reference window to show the Add Reference window.
Select the Browse tab and press the Browse... button.
Navigate to your library folder, select MTCMSNET.dll, then press the Add button.
In your custom software, create an instance of MTDevice. For examples, see the source code included with the MTCMSNETDemo project and/or Appendix A Code Examples.
Begin using the features provided by the MTCMS library.
Last updated

