Share via


How to get data directly from biometric device ts1011 to my windows app by using csharp?

Question

Sunday, March 31, 2019 1:24 AM

Problem

How to get data directly from    biometric device ts1011 to my windows app by using c sharp?

I work on windows application done by csharp visual studio 2017 connected to SQL server 2014

I doing application to club that store members data and retrieve members that paid annuals fees.

club management decided to validate members paid annual fees or not before go to inside club

by member card to every member and by using machine ZK TS1011 he will put his card on machine ts1011

and from my c sharp app i will give him status paid or not

my questions

How to get attendance entry for every member from ts1011 biometric machine directly to sql server by using csharp? 

Actually i need by c sharp get data directly to SQL server 2014 pulling data

meaning user id 1 have entry or attende like below :

User Id check time                     card number   check-type

1        31-02-12019 5:05:01      122333          1

suppose member 1 make entry or come to work 5:05:1

then i need to get this record directly to SQL server 2014 

How to pull data from machine TS1011 ZK to SQL server 2014 by c sharp ?

All replies (2)

Monday, April 1, 2019 5:58 AM âś…Answered

Hi engahmedbarbary,

Thank you for posting here.

For your question, you could download the source file from the code project for reference.

https://www.codeproject.com/Articles/1104538/Csharp-ZKTeco-Biometric-Device-Getting-Started

Best Regards,

Wendy

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 [email protected].


Sunday, March 31, 2019 2:45 AM

Hello,

Do you need help with a) retrieving data from the machine and write to SQL-Server b) you have read the data and now need help with writing to SQL-Server?

Lastly, is this the machine? If so you should inquire with the company who sold the machine for assistance in writing code via their API. If not the machine the same applies.

Please remember to mark the replies as answers if they help and unmarked them if they provide no help, this will help others who are looking for solutions to the same or similar problem. Contact via my Twitter (Karen Payne) or Facebook (Karen Payne) via my MSDN profile but will not answer coding question on either.

NuGet BaseConnectionLibrary for database connections.

StackOverFlow