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: 2.13.898
Syntax string[] Read(
int timeoutMS
)
Function Read (
timeoutMS As Integer
) As String()
array<String^>^ Read(
int timeoutMS
)
Parameters
- timeoutMS
- Type: SystemInt32
The amount of time in milliseconds to enable the reader and wait for a card to be swiped.
Return Value
Type:
StringAn 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