Click or drag to resize

MagCardReaderRead Method

Activates the device's magnetic card reader, if present, and waits for a card to be swiped.

Namespace: Zebra.Sdk.Device
Assembly: SdkApi.Core (in SdkApi.Core.dll) Version: 3.0.3271
Syntax
string[] Read(
	int timeoutMS
)

Parameters

timeoutMS  Int32
The amount of time in milliseconds to enable the reader and wait for a card to be swiped.

Return Value

String
An array of three strings corresponding to the tracks of the card. If a track could not be read that string will be empty.
Remarks
If the device does not have a reader the call will timeout.
See Also