ID TECH MiniMag HID USB reader (VID 0ACD, PID 0500).ID TECH SecureMag HID USB reader (VID 0ACD, PID 2010).MagTek BulleT Bluetooth/USB reader, when connected via USB (VID 0801, PID 0011).MagTek SureSwipe HID USB reader ( VID 0801, PID 0002).MagTek MagneSafe HID USB reader (VID 0801, PID 0011).The following list shows the magnetic stripe readers that were used with this code sample: All POS apps are required declare DeviceCapability in the app package manifest, either by using "PointofService" as shown in this sample or by using device specific GUID, such as "2A9FE532-0CDC-44F9-9827-76192F2CA2FB" for a magnetic stripe reader. The app package manifest shows how to specify the device capability name for the Point of Service (POS) devices. The event handler for ReleaseDeviceRequested shows how to do this. When an application gets a request from another application to release its exclusive claim to the magnetic stripe reader, it must handle the request by retaining the device otherwise, it will lose its claim. Uses BankCardDataReceived, AamvaCardDataReceived, and ReleaseDeviceRequested events. Uses ClaimReaderAsync to claim the device. To enumerate and select the first magnetic stripe reader.Ĭlaim the magnetic stripe reader for exclusive use The samples collection, and GitHub, see Get the UWP samples from GitHub.įor more samples, see the Samples portal on the Windows Dev Center. For more info on working with the ZIP file, Sure to unzip everything to access shared dependencies. Or you can download the entire collection as a single You can download this sample as a standalone ZIP file Note: This sample is part of a large collection of UWP feature samples. Shows how to create a magnetic stripe reader, claim it for exclusive use, enable it to receive data, and read data from a bank card or a motor vehicle card.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |