如何在.net中获取连接到我的系统的所有USB设备的VID和PID?
在 C#.net 控制台应用程序中,我可以编写什么代码来在屏幕上打印连接到系统的每个 USB 设备的 VID 和 PID?
In a C#.net console application, what code can i write to print on the screen the VID and PID of each USB device connected to the system?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这是我根据迄今为止发现的内容编写的一些代码。可能有更好的方法来做到这一点。
Here's some code I've written based on what I've found so far. There may be a better way to do this.