Share via


MagneticStripeReaderTrackData Class

Definition

Contains the track data obtained following a card swipe.

public ref class MagneticStripeReaderTrackData sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class MagneticStripeReaderTrackData final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class MagneticStripeReaderTrackData
Public NotInheritable Class MagneticStripeReaderTrackData
Inheritance
Object Platform::Object IInspectable MagneticStripeReaderTrackData
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Remarks

This object is accessed when you retrieve the Track1, Track2, Track3, and Track4 properties of the MagneticStripeReaderReport object.

Properties

Data

Gets the raw or decoded data from the swiped card.

DiscretionaryData

Gets the discretionary data from the swiped card.

EncryptedData

Gets the encrypted data from the swiped card.

Applies to

See also