Can anybody please help me in writing C# Code to read the input read by barcode scanner...like the Scanner to read Flight tickets.
Please provide a Step-by-step process.
Upvotes: 1
Views: 1131
Reputation: 292425
Usually barcode scanners behave like a keyboard : when you read a barcode, it just sends the code as if you had typed it on the keyboard. If your scanner works like that, there is nothing specific to do about it. You just need to have a focused textbox that will receive the input from the scanner
Upvotes: 0
Reputation: 8181
It's going to depend on the manufacturer of the device. You'd be best off looking to the manufacturer for some API documentation and example code. See this channel9 thread for some links and some more info.
Upvotes: 3