Msr.TracksToRead Property (POS for .NET v1.12 SDK Documentation)
2/27/2008
Indicates the track data that the application wishes to place into the Track1Data, Track2Data, Track3Data and Track4Data properties following a card swipe.
Namespace: Microsoft.PointOfService
Assembly: Microsoft.PointOfService (in microsoft.pointofservice.dll)
Syntax
'Declaration
Public MustOverride Property TracksToRead As MsrTracks
public abstract MsrTracks TracksToRead { get; set; }
public:
virtual property MsrTracks TracksToRead {
MsrTracks get () abstract;
void set (MsrTracks value) abstract;
}
/** @property */
public abstract MsrTracks get_TracksToRead ()
/** @property */
public abstract void set_TracksToRead (MsrTracks value)
public abstract function get TracksToRead () : MsrTracks
public abstract function set TracksToRead (value : MsrTracks)
Remarks
Possible values are defined by the MsrTracks enumeration.
Decreasing the required number of tracks can provide a greater swipe success rate and somewhat greater responsiveness by removing the processing for unaccessed data.
TracksToRead does not indicate a capability of the MSR device, but instead is an application-configurable property indicating from which track(s) data will be obtained, potentially decoded, and returned if possible. Some situations will always prevent the receipt of data: for example, an ISO-type card swiped through a JIS-II read head, or a card with no data in some tracks.
TracksToRead is typically initialized to Tracks123.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread-safe. Any instance members are not guaranteed to be thread-safe.
See Also
Reference
Msr Class
Msr Members
Microsoft.PointOfService Namespace
Msr.Track1Data Property
Msr.Track2Data Property
Msr.Track3Data Property
Msr.Track4Data Property