How to save finger data into a Database and Match finger with c# in ZK4500 Fingerprint Scanner? RRS feed

  • Question

  • I am using ZKFingerSDK 5.3. It has a demo for c# where they used a memory cache for testing purpose but I need to save finger data to database and match finger data for customer identification. Please give me a example how to save finger data into any database ((MS SQL/MySQL/sqlite) and how to match.

    C# Demo Project -- https://github.com/emrancu/zk4500

    Tuesday, February 26, 2019 4:58 AM

All replies

  • If you look at their sample, it looks like the entire fingerprint is reduced to a 2048-byte array.  When you register a fingerprint, you just need to save that 2048-byte array into a database BLOB field.

    Then, when you get a fingerprint to match, you call DBMatch repeatedly, passing it the new fingerprint, and the stored fingerprints from your database, one at a time.  There's no way to use the database server to do the matching for you; you will have to enumerate all of the stored fingerprints one at a time.

    Tim Roberts | Driver MVP Emeritus | Providenza & Boekelheide, Inc.

    Wednesday, February 27, 2019 7:26 AM
  • Hi 

    Thank you for posting here.

    Since this thread is related to ZK4500, you could ask in the following link.


    The Visual C# forum discuss and ask questions about the C# programming language, IDE, libraries, samples, and tools.

    Note: This response contains a reference to a third party World Wide Web site. Microsoft is providing this information as a convenience to you. Microsoft does not control these sites and has not tested any software or information found on these sites; Therefore, Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. There are inherent dangers in the use of any software found on the Internet, and Microsoft cautions you to make sure that you completely understand the risk before retrieving any software from the Internet.

    Best Regards,


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Tuesday, March 12, 2019 6:57 AM