-api-id | -api-type | -api-device-family-note |
---|---|---|
M:Windows.Devices.PointOfService.MagneticStripeReader.ClaimReaderAsync |
winrt method |
xbox |
Attempts to get an exclusive access to the magnetic stripe reader.
When the method completes, it returns a ClaimedMagneticStripeReader or it returns null if the operation fails to claim a magnetic stripe reader.
[!code-cppClaimMagStripeReader]
[!code-csharpClaimMagStripeReader]
[!code-jsCreateMagStripeReaderJS]
Magnetic stripe reader sample (Windows 10) soft.com/fwlink/p/?LinkId=620017)