ClaimedMagneticStripeReader.TracksToRead Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the track data that the application wants to receive following a card swipe.
public:
property MagneticStripeReaderTrackIds TracksToRead { MagneticStripeReaderTrackIds get(); void set(MagneticStripeReaderTrackIds value); };
MagneticStripeReaderTrackIds TracksToRead();
void TracksToRead(MagneticStripeReaderTrackIds value);
public MagneticStripeReaderTrackIds TracksToRead { get; set; }
var magneticStripeReaderTrackIds = claimedMagneticStripeReader.tracksToRead;
claimedMagneticStripeReader.tracksToRead = magneticStripeReaderTrackIds;
Public Property TracksToRead As MagneticStripeReaderTrackIds
Property Value
The card track.
Remarks
TracksToRead determines which tracks the application wants to receive following a card swipe. This does not indicate the capability of the device hardware; instead, it is an application configurable property representing which tracks to read. There are cases when the desired data cannot be obtained, such as cards not having data for a particular track.
Decreasing the required number of tracks may provide a greater success rate and somewhat greater responsiveness by removing the processing for inaccessible data.
This property is initialized for all tracks (Track1 | Track 2 | Track3 | Track4).