在验证指纹期间,我的控制器中不断出现此错误。我似乎无法理解为什么。我正在使用 digitalPersona SDK 指纹读取器 asp.netc#。我已经尝试过谷歌搜索但没有成功。T_T
这是我的控制器中的代码
void verificationControl_OnComplete(object Control, DPFP.FeatureSet FeatureSet, ref DPFP.Gui.EventHandlerStatus EventHandlerStatus)
{
clearInfoBoxTimer.Stop();
DateTime entryTime = DateTime.Now;
DPFP.Verification.Verification ver = new DPFP.Verification.Verification();
DPFP.Verification.Verification.Result res = new DPFP.Verification.Verification.Result();
employee employees = null;
foreach (fingerprint fingerPrint in this.db.fingerprints)
{
DPFP.Template template = new DPFP.Template();
template.DeSerialize(fingerPrint.data);
ver.Verify(FeatureSet, template, ref res); //I GETTING AN ERROR HERE
if (res.Verified)
{
employees = fingerPrint.employee;
break;
}
}
}
完全错误:
System.Runtime.InteropServices.COMException (0xFFFFFFF8):HRESULT 异常:DPFP.Verification.Verification.MC_verifyFeaturesEx 处的 0xFFFFFFF8(SafeHandle mcContext,Int32 templateSize,Byte[] templatePt,Int32 featureSetSize,Byte[] featureSet,Int32 reserved0,IntPtr reserved1, IntPtr reserved2, IntPtr reserved3, Double&paidFar) at DPFP.Verification.Verification.Verify(FeatureSet FeatureSet, Template Template, Int32 FARRequested) at DPFP.Verification.Verification.Verify(FeatureSet FeatureSet, Template Template, Result& Result) at Timee.BundyForm。 verifyControl_OnComplete(Object Control, FeatureSet FeatureSet, EventHandlerStatus& EventHandlerStatus) 在 C:\Users\MyName\Desktop\Time\Timee\BundyForm.cs: DPFP.Gui.Verification.VerificationControl.<>c_ 的第 79 行DisplayClass2.b _0()
有谁知道我为什么会收到这个错误?或者也许对错误有所了解并分享它?谢谢你。