如何使用C#获取USB设备描述符和字符串描述符值 [英] How to get the USB Device Descriptor and String Descriptor values using C#

查看:457
本文介绍了如何使用C#获取USB设备描述符和字符串描述符值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果iSerialNumber可用于设备,我想获取供应商ID,产品ID(来自设备描述符)和iSerialNumber(来自字符串描述符).

有人可以帮我吗?

I want to get the Vendor ID, Product ID (from Device descriptor) and iSerialNumber (from String Descriptor) if the iSerialNumber is available for a device.

Can anybody help me on this?

推荐答案

此示例在VB.NET中,仅讨论设备和字符串描述符,但这是一个起点. http://www.emmet-gray.com/Articles/USB_SerialNumbers.htm
This example is in VB.NET and only talks about the Device and String Descriptors, but it is a starting point. http://www.emmet-gray.com/Articles/USB_SerialNumbers.htm


这篇关于如何使用C#获取USB设备描述符和字符串描述符值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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