Instructions

U.are.U SDK - Developer Guide 44
The .NET API
THIS CHAPTER DESCRIBES HOW TO USE THE .NET API.
The .NET API is built as a wrapper to the C/C++ APIs for use on the Windows platform. This chapter provides an
overview of the API. For details of using the API on a specific reader platform, consult the corresponding Platform
Guide.
The .NET API is considerably simpler to use than the C/C++ APIs and therefore generally results in:
Easier data management
Easier enrollment
Faster development
The .NET API also implements additional features:
Serialization
Pre-built GUI controls for enrollment and identification to quickly get you started
Importing the U.are.U .NET package
The U.are.U .NET library classes are aggregated into the following class libraries:
DP .NET API - for capturing and comparing fingerprints
DP .NET Controls - simple interface for enrollment and identification, based on OneTouch interface
Getting Detailed Documentation
This chapter provides an overview of the main methods in the .NET API. For a complete description of method
parameters, the Doxygen documentation for the .NET libraries is provided. Consult the platform guide for details of
where the Doxygen files are located.
Using the Package
Main Access Points
To acquire a reference to ReaderCollection use the
GetReaders()
method. To destroy
ReaderCollection
,
(release all system resources associated with readers and make readers available for other processes) use the
Dispose()
method.
To acquire a reference(s) to individual readers, use the
ReaderCollection
object, which is a collection of
objects of type
Reader
.
To work with the FingerJet Engine, instantiate one of the classes:
Comparison
,
Importer,
FeatureExtraction
or
Enrollment
. For example, to start enrolling fingerprints using the FingerJet engine,
call the static method,
Enrollment.CreateEnrollmentFmd().
This method takes as input an enumeration
that specifies the format the enrollment template should be in, e.g., ANSI or ISO. This method also takes an
IEnumerable<Fmd>
object. See IEnumerables in the .NET Wrapper on page 45 for more information on
IEnumerable<Fmd>.
SDKException
The
SDKException
class describes exceptions specific to the U.are.U SDK.