public void GetGeneratLog(ZkemClient 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 ClearGLog(ZkemClient objZkeeper, int machineNumber)
 {
     return(objZkeeper.ClearGLog(machineNumber));
 }