Search code examples
c#winformsbarcode

Recognition of different barcode readers?


I have two barcode scanners which are connected to a single PC via USB ports. I want to insert data coming from them into SQL Server. How I can know which one of them sends the string?

My Windows Forms app has only one textbox. Barcode scanners are passive devices without any IP or MAC address.


Solution

  • you can usually configure the last character the handscanner "types" by scanning a specific QR code in the user manual. Its often "Enter" or "Tab" You can configure both scanners to have different termination characters and if you implment your application in a way to differentiate between the two, you can easlily identity which handscanneras was used