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. Use the CZKEM class file to perform device related operations.Create a class file and implement the IZKEM interface provided by the above dll.Add Reference to the zkemkeeper.dll in your project.Now, To implement the biometric device, you will have to use the zkemkeeper.dll. You should be seeing the following dialog once your registration is complete: Fire up a Command Prompt with Administrator Privilege.You can go through the source code inside the Register_SDK.bat file to see the registration mechanism. I have already attached an SDK sample along with this article. We already have a batch file ready for that very purpose, Hence, we are cool here. If you don't know how it works, please go through some blog posts in the related topic. In order to implement any biometric device, you will have to register the related components in the system, which can be easily done by using the Regsvr32 utility. Other devices might have a different set of SDK, hence a slightly different set of procedures. Note: The follow procedures are applicable for the K14 model devices. Hence, developers are likely to come across its implementation at some point. They provide a better way of user authentication and security in organizations who implement it. Companies like ZKTeco manufacture biometric access control and Time and Attendance in various shapes and sizes with different set of features per model. How to register to device specific events īiometric Devices are being used extensively in many corporations through out the world these days.Source code to upload data to the device.Extracting some random data out of the device (Log Data, User Info, etc.).The article and the source code provided will help you with the following things: Some knowledge about how the ref and out parameters work.How to Register/ Unregister DLLs using the Regsvr32 utility.How a biometric device works, its features and functionalities.Prior to going through the following article, it would be beneficial if you have some good understanding of the following things: It does not store any personal data.If you are working with a different brand like the Realtime Biometric The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. The cookie is used to store the user consent for the cookies in the category "Performance". This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other. The cookies is used to store the user consent for the cookies in the category "Necessary". The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional". The cookie is used to store the user consent for the cookies in the category "Analytics". These cookies ensure basic functionalities and security features of the website, anonymously. Necessary cookies are absolutely essential for the website to function properly.
0 Comments
Leave a Reply. |