Activates the device's magnetic card reader, if present, and waits for a card to be swiped.
Namespace: Zebra.Sdk.DeviceAssembly: SdkApi.Core (in SdkApi.Core.dll) Version: 3.0.3271
Syntax string[] Read(
int timeoutMS
)
Function Read (
timeoutMS As Integer
) As String()
array<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
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