Example #1
0
        /// <summary>
        /// Verifies the fingerprint.
        /// </summary>
        /// <param name="enrollResult">The enroll result.</param>
        /// <param name="pgmFilePath">The PGM file path.</param>
        /// <returns></returns>
        public bool VerifyFingerprint(EnrollStageResult enrollResult, string pgmFilePath)
        {
            const string galleryKey = "dummy";

            using var gallery = new FingerprintGallery();
            gallery.Add(galleryKey, enrollResult);
            return(VerifyFingerprint(galleryKey, gallery, pgmFilePath));
        }
 /// <summary>
 /// Adds the specified fingerprint data and associates it with the specified key.
 /// </summary>
 /// <param name="key">The key.</param>
 /// <param name="enrollResult">The enroll result.</param>
 public void Add(string key, EnrollStageResult enrollResult)
 {
     this.Add(key, enrollResult.FingerprintData);
 }
Example #3
0
 /// <summary>
 /// Verifies the fingerprint.
 /// </summary>
 /// <param name="enrollResult">The enroll result.</param>
 /// <returns></returns>
 public bool VerifyFingerprint(EnrollStageResult enrollResult) => VerifyFingerprint(enrollResult, null);
Example #4
0
 /// <summary>
 /// Adds the specified fingerprint data and associates it with the specified key.
 /// </summary>
 /// <param name="key">The key.</param>
 /// <param name="enrollResult">The enroll result.</param>
 public void Add(string key, EnrollStageResult enrollResult)
 {
     this.Add(key, enrollResult.FingerprintData);
 }
Example #5
0
 /// <summary>
 /// Verifies the fingerprint.
 /// </summary>
 /// <param name="enrollResult">The enroll result.</param>
 /// <returns></returns>
 public bool VerifyFingerprint(EnrollStageResult enrollResult)
 {
     return(this.VerifyFingerprint(enrollResult, null));
 }
 /// <summary>
 /// Verifies the fingerprint.
 /// </summary>
 /// <param name="enrollResult">The enroll result.</param>
 /// <returns></returns>
 public bool VerifyFingerprint(EnrollStageResult enrollResult)
 {
     return this.VerifyFingerprint(enrollResult, null);
 }
 /// <summary>
 /// Verifies the fingerprint.
 /// </summary>
 /// <param name="enrollResult">The enroll result.</param>
 /// <param name="pgmFilePath">The PGM file path.</param>
 /// <returns></returns>
 public bool VerifyFingerprint(EnrollStageResult enrollResult, string pgmFilePath)
 {
     const string galleryKey = "dummy";
     using (var gallery = new FingerprintGallery())
     {
         gallery.Add(galleryKey, enrollResult);
         return VerifyFingerprint(galleryKey, gallery, pgmFilePath);
     }
 }