Out sName, out sPassword, out iPrivilege, out bEnabled))įor (idwFingerIndex = 0 idwFingerIndex < 10 idwFingerIndex++) While (objZkeeper.SSR_GetAllUserInfo(machineNumber, out sdwEnrollNumber, ObjZkeeper.ReadAllTemplate(machineNumber) Int iPrivilege = 0, iTmpLength = 0, iFlag = 0, idwFingerIndex SPassword = string.Empty, sTmpData = string.Empty String sdwEnrollNumber = string.Empty, sName = string.Empty, Public ICollection GetAllUserInfo(ZkemClient objZkeeper, int machineNumber) Here, The TmpData is the users (fingerprint) template data. I had stored some random user data in the fingerprint device and used the following code to retrieve it back and display it. The API implements the out parameter to give back the output. The user information can be fetched by providing a machine number ( It is generally 1 ). To register all real-time events, the value of EventMask can be set as 65535 which I have implemented in the above code. To register for multiple-events, we can perform XOR operations between binary codes of related events. The complete list of EventMask values are given below: 1 The EventMask requires an integer value whose value varies based on the type of event. Entering 65535 for the EventMask value registers for all events To make a successful communication with the device, you need to know the IP address and the Port No.īool RegEvent( int dwMachineNumber, int EventMask) Let's say your Biometric device is connected in the local area network.
0 Comments
Leave a Reply. |