Skip to content

Latest commit

 

History

History
42 lines (23 loc) · 1.84 KB

claimedmagneticstripereader_bankcarddatareceived.md

File metadata and controls

42 lines (23 loc) · 1.84 KB
-api-id -api-type -api-device-family-note
E:Windows.Devices.PointOfService.ClaimedMagneticStripeReader.BankCardDataReceived
winrt event
xbox

Windows.Devices.PointOfService.ClaimedMagneticStripeReader.BankCardDataReceived

-description

Occurs when a bank card is swiped.

-remarks

An application can register for this event event handler to get the bank card data each time a bank card is swiped through the magnetic stripe reader.

-examples

The following example shows how to setup the magnetic stripe reader to receive data after a scanning event.

[!code-cppSetupMagStripeReader]

[!code-csharpSetupMagStripeReader]

[!code-cppMagStripeReaderDataReceived]

[!code-csharpMagStripeReaderDataReceived]

[!code-jsCreateMagStripeReaderJS]

[!code-jsMagStripeReaderDataReceivedJS]

-see-also

Magnetic stripe reader sample (Windows 10)