Reading from an USB barcode scanner

前端 未结 2 550
小鲜肉
小鲜肉 2020-12-14 11:36

I\'ve got this nice USB barcode scanner and I\'d like to readthe input using the USB driver and not the keyboard input.

How can this be accomplished using .NET? any

2条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-14 12:33

    You can read (and control) the device using USB HID reports.

    http://www.codeproject.com/KB/cs/USB_HID.aspx

    http://www.florian-leitner.de/index.php/2007/08/03/hid-usb-driver-library/

提交回复
热议问题