Share via


Msr.WriteTracks(Byte[], Byte[], Byte[], Byte[], Int32) Method

Definition

Initiates the encoding of data to the MSR track(s) selected in the TracksToWrite property.

public virtual void WriteTracks (byte[] track1Data, byte[] track2Data, byte[] track3Data, byte[] track4Data, int timeout);
abstract member WriteTracks : byte[] * byte[] * byte[] * byte[] * int -> unit
override this.WriteTracks : byte[] * byte[] * byte[] * byte[] * int -> unit
Public Overridable Sub WriteTracks (track1Data As Byte(), track2Data As Byte(), track3Data As Byte(), track4Data As Byte(), timeout As Integer)

Parameters

track1Data
Byte[]

The first data track.

track2Data
Byte[]

The second data track.

track3Data
Byte[]

The third data track.

track4Data
Byte[]

The fourth data track.

timeout
Int32

The number of milliseconds before failing the method. If -1, the method waits as long as need before the card is swiped.

Applies to