I Already found a solution in how to retrieve and save the fingerprint template, I can now also compare the Templates with the scanned fingerprint.
I used
Fmd.SerializeXml(result.Data)
in saving the fingerprint template and used Varchar(MAX) as the datatype in the database. In comparing the templates I load all the templates from the database into an array
Private fingerList As New List(Of Fmd)
conn0.Open()
command0.Connection = conn0
command0.CommandText = "SELECT Template FROM pr_fingerprint"
reader0 = command0.ExecuteReader
With reader0
While .Read
s = .Item("Template")
fingerList.Add(Fmd.DeserializeXml(s))
End While
End With
conn0.Close()
I compare the finger templates using
Dim identifyResult = Comparison.Identify(anyFinger, 0, fingerList, thresholdScore, 2)
And It's a success.