且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

[UWP] [C#] [USB] [扫描仪]连接并从USB扫描仪获取数据

更新时间:2023-01-11 19:24:46

您好NiteshKr12,

Hi NiteshKr12,

有官方样本关于 自定义USB设备示例,它显示了如何使用Windows.Devices.Usb命名空间与USB设备进行通信,请在此链接中查看:  https://github.com/Microsoft/Windows-universal-samples/tree/master/Samples/CustomUsbDeviceAccess

There is an official sample about Custom USB device sample, it shows how to communicate with a USB device by using the Windows.Devices.Usb namespace, please refer it in this link: https://github.com/Microsoft/Windows-universal-samples/tree/master/Samples/CustomUsbDeviceAccess.

样本没有连接到扫描仪,如果你想要扫描仪的样本,你应该可以在Github中请求它。

The sample does not connect to scanner, if you want the sample for scanner you should able to request it in the Github.

还有一个关于Windows的官方文档存储USB设备的应用程序,请在此链接中查看: https://msdn.microsoft.com/ library / windows / apps / dn303355

Also there is an official document about Windows Store app for a USB device, please refer it in this link: https://msdn.microsoft.com/library/windows/apps/dn303355.




***的问候,

Jayden Gu

Jayden Gu