Msr.Track1Data Property
2/27/2008
Holds either the Track 1 data from the most recently swiped card or an empty array.
Namespace: Microsoft.PointOfService
Assembly: Microsoft.PointOfService (in microsoft.pointofservice.dll)
Syntax
'Declaration
Public MustOverride ReadOnly Property Track1Data As Byte()
public abstract byte[] Track1Data { get; }
public:
virtual property array<unsigned char>^ Track1Data {
array<unsigned char>^ get () abstract;
}
/** @property */
public abstract byte[] get_Track1Data ()
public abstract function get Track1Data () : byte[]
Remarks
If the TransmitSentinels property is set to false, Track1Data contains track data between, but not including, the start and end sentinels. If TransmitSentinels is set to true, then the start and end sentinels are included.
If the DecodeData property is set to true, the data returned by Track1Data has been decoded from “raw” format. The data may also be parsed into other properties when the ParseDecodeData property is set.
An empty array indicates that the track was not accessible.
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.DecodeData Property
Msr.ParseDecodeData Property
TransmitSentinels