private bool Capturarimagen() { bool ret = false; for (int i = 0; i <= lbDatabase.Items.Count - 1; i++) { lbDatabase.SelectedIndex = i; NffvUser nffv = ((CData)lbDatabase.SelectedItem).EngineUser; VerificationResult verificationResult = new VerificationResult(); verificationResult.score = _engine.Verify(nffv, 20000, out verificationResult.engineStatus); if (verificationResult.score > 60) { ret = true; goto retornar; } else { Huella = "2"; } } retornar: return(ret); }
private void doVerify(object sender, DoWorkEventArgs args) { VerificationResult verificationResult = new VerificationResult(); verificationResult.score = _engine.Verify((NffvUser)args.Argument, 20000, out verificationResult.engineStatus); args.Result = verificationResult; }
private bool Capturarimagen(NffvUser nffv) { //((CData)lbDatabase.SelectedItem).EngineUser; verificationResult = new VerificationResult(); verificationResult.score = _engine.Verify(nffv, 20000, out verificationResult.engineStatus); return(true); }