Share via


PointCardRW.Track2Data Property

Contains the Track2 data from the Point Card.

Namespace: Microsoft.PointOfService
Assembly: Microsoft.PointOfService (in microsoft.pointofservice.dll)

Usage

'Usage
Dim pointCardRW1 As PointCardRW

Dim returnValue As Byte
returnValue = pointCardRW1.Track2Data

Syntax

'Declaration
Public MustOverride ReadOnly Property Track2Data() As Byte()
public abstract byte[] Track2Data {get;}
public: property virtual array<Byte>^ Track2Data{
    array<Byte>^ get();
}
public abstract ubyte[] get_Track2Data();
public abstract function get Track2Data() : Byte[];

Remarks

Track2Data contains track data between, but not including, the start and end sentinels.

An empty string indicates the track is not accessible.

Track2Data is typically initialized to 0. It should then be kept current by the service object while the device is enabled.

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.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows Longhorn, and Windows 2000

Target Platforms

See Also

Reference

PointCardRW Class
PointCardRW Members
Microsoft.PointOfService Namespace