I'm sorry to make a long introduction, but this is what I have done so far:
- Downloaded the SDK;
- Read the manual ;
- Followed the sample project they patched with the SDK.
But, the thing is, I already had another biometric solution working and it used to save all hash data as varchar2 data type instead of byte arrays. So, my table already has a varchar2 column which would be really hard to change (administration wise).
Of course, I was glad that Veridis had this "CompareTo" method, which had an overload that allowed me to pass a string as argument. The only problem is that it doesn't seem to work. Here's the bit that handles the validation:
Private _modelo As BiometricTemplate Private _valido As Boolean Public WriteOnly Property ModeloBiometrico As String Set(value As String) _modelo = BiometricTemplate.Base64TemplateDecode(value) End Set End Property Private Sub OnSampleAcquired(device As Veridis.Biometric.IBiometricCaptureDevice, sample As Veridis.Biometric.BiometricSample) Implements Veridis.Biometric.ICaptureListener.OnSampleAcquired _valido = _modelo.CompareTo(New BiometricTemplate(sample)).Match End Sub
This does work when saving/validating one finger, but the validation doesn't work if I save several fingers as it does with byte array. What is the problem here?