public void GetGeneratLog(CZKEM objZkeeper, int machineNumber, string enrollNo) { string name = null; string password = null; int previlage = 0; bool enabled = false; byte[] byTmpData = new byte[2000]; int tempLength = 0; int idwFingerIndex = 0; // [ <--- Enter your fingerprint index here ] int iFlag = 0; objZkeeper.ReadAllTemplate(machineNumber); while (objZkeeper.SSR_GetUserInfo(machineNumber, enrollNo, out name, out password, out previlage, out enabled)) { if (objZkeeper.GetUserTmpEx(machineNumber, enrollNo, idwFingerIndex, out iFlag, out byTmpData[0], out tempLength)) { break; } } }
public bool GetUserTmpEx(int dwMachineNumber, string dwEnrollNumber, int dwFingerIndex, out int Flag, out byte TmpData, out int TmpLength) { return(objCZKEM.GetUserTmpEx(dwMachineNumber, dwEnrollNumber, dwFingerIndex, out Flag, out TmpData, out TmpLength)); }