I am going to write a .NET Windows program that let users scan barcode data into a textbox. I want to fire an event upon scanning a barcode. The scanner is connected to the USB port of the computer.
My idea is to capture the event by detecting data coming from the USB port. I am not sure if this is the right way to do it. If detecting USB input is the right way, is there any .NET framework class that can do the job? If not, how to fire an event upon scanning.