键盘和条形码阅读器之间的区别 [英] difference between a keyboard and a barcode reader

查看:81
本文介绍了键盘和条形码阅读器之间的区别的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何检测键盘和条形码读取器之间的差异,我设法列出了USB设备,并找到了序列号的差异,并且我还想显示每个设备的品牌,并且需要您的帮助在这个级别上,谢谢您.

how to detect the difference between a keyboard and a barcode reader, I managed to list the USB devices, and found the difference in serial number, and I also want to display the brand of each device, and I need your help at this level, thank you

推荐答案

通常,条形码阅读器将被应用,或者可以被设置为在条形码的前端和后端应用定制的标记".数据.

然后,您可以通过检查此标记来确定数据来自何处.

至于标识硬件,您需要知道要检查的设备类型的各种硬件ID,并且应该能够从OEM获得这些ID.

我敢说如果你在google上看起来足够努力,某个地方已经有人汇编了一些常见的清单,毕竟那里还有其他清单:)
Usually a barcode reader will apply or can be setup to apply a custom ''marker'' at the pre- and post- ends of the data.

You can then use this to determine where the data has come from by checking for this marker.

As for identifying the hardware, you would need to know the various hardware ID''s for the types of device you want to check for, and you should be able to get those from the OEM.

I dare say if you look hard enough on google, somewhere someone will already have compiled a list of the common ones, after all there are lists of eveything else out there :)


我''一直有类似的问题,这是我在StackOverflow上的线程.

可以使用 WMI接口将设备属性购买到C#代码中.结合 WMI浏览器,您应该已经准备就绪.

兔子
I''ve been having a similar problem, here is my thread on StackOverflow.

Device properties can be bought into C# code using the WMI interface. Coupled with a WMI browser, you should be all set.

Rabit


这篇关于键盘和条形码阅读器之间的区别的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆