All pages
Powered by GitBook
1 of 1

Loading...

MTSCRA Class Methods - 31 - 40

getCapTracks

Retrieves Track Capabilities.

public string getCapTracks()

Parameters: None Return Value:

String representing Track Capabilities:

  • Bit 0 = 1 / Track 1 supported,

  • Bit 1 = 1 / Track 2 supported,

  • Bit 2 = 1 / Track 3 supported, All other bits = 0.

Retrieves CRC from card data.

public long getCardDataCRC()

Parameters: None Return Value:

Card data CRC

Retrieves CRC from card data.

public string getCardExpDate ()

Parameters: None Return Value:

String representing card expiration date.

Retrieves Issuer Identification Number (IIN) from card data.

public string getCardIIN()

Parameters: None

Return Value: String representing card IIN.

Retrieves Last 4 digits of card number from card data.

public string getCardLast4()

Parameters: None

Return Value:

String representing card last 4 digits.

Retrieves card name from card data.

public string getCardName()

Parameters: None Return Value:

String representing card name.

Retrieves PAN from card data.

public string getCardPAN()

Parameters: None

Return Value: String representing card PAN.

Retrieves PAN length from card data.

public int getCardPANLength()

Parameters: None

Return Value: PAN length.

Retrieves Service Code.

public string getCardServiceCode()

Parameters: None

Return Value: String representing service code.

Retrieves the card status.

public string getCardStatus()

Parameters: None Return Value:

String representing the card status.

Card Status

This is a string value which indicates the card status. The following table defines the possible values.

Value

Description

00

The card was swiped in the withdrawal direction.

01

The card was swiped in the insertion direction.

getCardDataCRC

getCardExpDate

getCardIIN

getCardLast4

getCardName

getCardPAN

getCardPANLength

getCardServiceCode

getCardStatus