MagneticStripeReaderReport MagneticStripeReaderReport MagneticStripeReaderReport MagneticStripeReaderReport Class

Definition

Contains data from the recently swiped card.

public : sealed class MagneticStripeReaderReport : IMagneticStripeReaderReportpublic sealed class MagneticStripeReaderReport : IMagneticStripeReaderReportPublic NotInheritable Class MagneticStripeReaderReport Implements IMagneticStripeReaderReport// You can use this class in JavaScript.
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Remarks

This object is accessed when you retrieve the Report property of MagneticStripeReaderBankCardDataReceivedEventArgs, MagneticStripeReaderAamvaCardDataReceivedEventArgs, or MagneticStripeReaderVendorSpecificCardDataReceivedEventArgs object.

Properties

AdditionalSecurityInformation AdditionalSecurityInformation AdditionalSecurityInformation AdditionalSecurityInformation

Gets the additional security or encryption information for the recently swiped card.

public : IBuffer AdditionalSecurityInformation { get; }public IBuffer AdditionalSecurityInformation { get; }Public ReadOnly Property AdditionalSecurityInformation As IBuffer// You can use this property in JavaScript.
Value
IBuffer IBuffer IBuffer IBuffer

The additional security or encryption information.

Remarks

The information content and internal format of this property vary among encryption algorithms. For example, for DUKPT this property contains the DUKPT sequence number. This property is empty if the encryption algorithm does not require it.

CardAuthenticationData CardAuthenticationData CardAuthenticationData CardAuthenticationData

Gets the card authentication information for the recently swiped card.

public : IBuffer CardAuthenticationData { get; }public IBuffer CardAuthenticationData { get; }Public ReadOnly Property CardAuthenticationData As IBuffer// You can use this property in JavaScript.
Value
IBuffer IBuffer IBuffer IBuffer

The card authentication data.

Remarks

The information and internal format of this property vary among services. This property is empty if the device does not support authentication. Otherwise, the value of this property is encrypted using the encryption algorithm in DataEncryptionAlgorithm property.

CardAuthenticationDataLength CardAuthenticationDataLength CardAuthenticationDataLength CardAuthenticationDataLength

Gets the length of the raw CardAuthenticationData before it is encrypted.

public : unsigned int CardAuthenticationDataLength { get; }public uint CardAuthenticationDataLength { get; }Public ReadOnly Property CardAuthenticationDataLength As uint// You can use this property in JavaScript.
Value
unsigned int uint uint uint

The length of the raw CardAuthenticationData before it is encrypted.

Remarks

Many encryption algorithms require padding of the input data before it can be encrypted. This property contains the length of the original unpadded data before it is encrypted. It may be needed to restore the original data after decryption.

CardType CardType CardType CardType

Gets the card type identifier for the recently swiped card.

public : unsigned int CardType { get; }public uint CardType { get; }Public ReadOnly Property CardType As uint// You can use this property in JavaScript.
Value
unsigned int uint uint uint

The card type identifier.

Properties Properties Properties Properties

Gets a dictionary of properties for the recently swiped card.

public : IMapView<string, string> Properties { get; }public IReadOnlyDictionary<string, string> Properties { get; }Public ReadOnly Property Properties As IReadOnlyDictionary<string, string>// You can use this property in JavaScript.
Value
IMapView<PlatForm::String, PlatForm::String> IReadOnlyDictionary<string, string> IReadOnlyDictionary<string, string> IReadOnlyDictionary<string, string>

A dictionary of properties.

Track1 Track1 Track1 Track1

Gets the track data for Track 1.

public : MagneticStripeReaderTrackData Track1 { get; }public MagneticStripeReaderTrackData Track1 { get; }Public ReadOnly Property Track1 As MagneticStripeReaderTrackData// You can use this property in JavaScript.

Track2 Track2 Track2 Track2

Gets the track data for Track 2.

public : MagneticStripeReaderTrackData Track2 { get; }public MagneticStripeReaderTrackData Track2 { get; }Public ReadOnly Property Track2 As MagneticStripeReaderTrackData// You can use this property in JavaScript.

Track3 Track3 Track3 Track3

Gets the track data for Track 3.

public : MagneticStripeReaderTrackData Track3 { get; }public MagneticStripeReaderTrackData Track3 { get; }Public ReadOnly Property Track3 As MagneticStripeReaderTrackData// You can use this property in JavaScript.

Track4 Track4 Track4 Track4

Gets the track data for Track 4.

public : MagneticStripeReaderTrackData Track4 { get; }public MagneticStripeReaderTrackData Track4 { get; }Public ReadOnly Property Track4 As MagneticStripeReaderTrackData// You can use this property in JavaScript.