Gettrackmasked method – MagTek USB HID Swipe Reader User Manual

Page 16

Advertising
background image

USB HID Swipe Reader

12


GETTRACKMASKED METHOD
Returns masked card data if supported by reader from a specific track.

Syntax

Result =USBHID.GetTrackMasked(TrackNum As Integer) As String

The GetTrackMasked method syntax has these parts:

Part

Description

TrackNum An integer specifying which Track Number from masked card data to Return.

Remarks

Explanation of tracks:

Track #

Description

0

Unparsed Card Data. Same as ‘.CardData’. It includes all tracks.

1

Start Sentinel ‘%’ End Sentinel is the first ‘?’ after Start Sentinel.

2

Start Sentinel ‘;’ End Sentinel is the first ‘?’ after Start Sentinel.

3

Start Sentinel ‘+’ End Sentinel is the first ‘?’ after Start Sentinel.

4

Start Sentinel ‘!’ End Sentinel is the first ‘?’ after Start Sentinel (used in
AAMVA cards).

5

Start Sentinel ‘#’ End Sentinel is the first ‘?’ after Start Sentinel (used in
CADL’s).

Data Type

String


Advertising