I'm new to coding with biometric sensors and DLLs in C#. I'm using a DigitalPersona reader UareU 4500. I have read the API documentation and saw the sample program they provided. However, I´m not interested in using the GUI version. I would like to use the API methods. I have searched for examples, but was unable to find any descriptive one. Please help.
My question is how to setup to load the EventHandlers and how to obtain the fingerprint in a bitmap image.
Thank you in advance. Any information or guide is highly appreciate it.
class FingerprintScanning
{
public DPFP.Capture.Capture fingerprint = new DPFP.Capture.Capture();
public DPFP.Sample sample = new DPFP.Sample();
public DPFP.Capture.EventHandler EventHandler;
public Bitmap picture_result = null;
public void CaptureFingerprint()
{
fingerprint.StartCapture();
//Events
EventHandler.OnFingerTouch(fingerprint,fingerprint.ReaderSerialNumber);
EventHandler.OnComplete(fingerprint,fingerprint.ReaderSerialNumber,sample);
//Convert to Bitmap
SampleConversion image = new SampleConversion();
image.ConvertToPicture(sample, ref picture_result);
fingerprint.StopCapture();
}
}