bool Scan (IlluminationType, string)

Initiates a passport scan.

Security

Trust Level Required: Full Trust

Parameters

Name Description
illuminationType (Optional) IlluminationType
The illumination method for the scanner to employ while scanning. Default value: 1.
devName (Optional) string
Optional device name from the Config Tool. Default value: null.

Return

True, unless the device is in an error state.

Remarks

When complete, OnDeviceData will be called. See Page Callbacks for details.

Examples


if(!KioPassportReader.Scan())
	alert('Failed');

Requirements

KioWare for Windows version 8.18 or greater.