Instructions
U.are.U SDK - Developer Guide 47
The .NET API
The main methods for managing reader hardware in the
Reader
class are:
Capturing Fingerprints
The
Capture
function captures a fingerprint image for
• Enrollment (as part of the process described on page 12)
• Identifying users with
Identify
• Verifying a specific user identity with
Compare
The primary fingerprint capture methods are:
Streaming Fingerprints
Not all readers support streaming mode. To determine if a specific reader supports this feature, check the value of the
reader property
CanStream
.
The streaming methods are:
Function Description
Open Open a device and return the device capabilities. This method establishes an exclusive
link to the device; no other processes will be able to use the device until you close it.
The application must open the device before use.
GetStatus Get the status for a device. You would normally check the device status between
captures to ensure that the device is functioning and there are no error conditions.
Returns an object of type
ReaderStatus
which describes the current status of the
reader.
Calibrate Calibrate a device. Some devices are self-calibrating. Ambient light or temperature can
affect calibration, for some devices. Calibration can take several seconds.
Reset Do a hardware reset on the reader. Hardware resets are typically needed only after a
hardware problem (e.g., the device is unplugged or receives an electrostatic shock).
Hardware resets typically only take a few milliseconds.
Dispose Close device, release memory, remove child objects.
Function Description
Capture Captures a fingerprint image from the open reader. This function signals the
reader that a fingerprint is expected, and blocks until a fingerprint is received,
capture fails or the reader times out.
CancelCapture Cancel a pending capture
Function Description
StartStreaming
Put the reader into streaming mode. In this mode, the application must call
Get-
StreamImage()
to acquire images from the stream.
GetStreamImage Capture a fingerprint image from the streaming data.
After this function returns, the reader remains in streaming mode.
Frame selection, scoring and other image processing are not performed by this
function.
StopStreaming End streaming mode