嗨,我正在研究用C#开发的应用程序 使用zkemkeeper sdk和Machine是Zkteco TFT
一切正常,所有事件都正常,但是当有人要擦手指时我需要绕过设备验证,我想获取手指模板并希望从数据库SQL进行验证
zkemkeeper.CZKEM objzkem_OnFinger = new zkemkeeper.CZKEM();
bool isconnected = objzkem_OnFinger.Connect_Net("192.168.10.6", Convert.ToInt32("4370"));
if (objzkem_OnFinger.RegEvent(1, 65535))
{
objzkem_OnFinger.OnFinger += new zkemkeeper._IZKEMEvents_OnFingerEventHandler(axCZKEM1_OnFinger);
}
and want to get finger when some one swipe his finger on scanner
private void axCZKEM1_OnFinger()
{
// label1.Text = "OK";
byte[] TmpData = new byte[20000];
int with = 500;
int lenth = 800;
bool fulimage = false;
string path = @"F:\3.png";
byte a = 1 ;
bool result2 = objzkem_OnFinger.EnableDevice(1, true);
bool result = objzkem_OnFinger.CaptureImage(fulimage, ref with, ref lenth, ref a, path);
}
but capture image always return false