积极答复者
C# 遍历USB设备并判断类型

问题
答案
-
C#只是语言规范,没有访问硬件的功能。
如果你的目标OS是PC版的Windows,可以用SetupDiEnumDeviceInfo。Windows Phone 7没有API提供枚举USB设备的API。
The following is signature, not part of post
Please mark the post answered your question as the answer, and mark other helpful posts as helpful, so they will appear differently to other users who are visiting your thread for the same problem.
Visual C++ MVP- 已标记为答案 Chunbin Hsu 2011年8月25日 3:29
全部回复
-
C#只是语言规范,没有访问硬件的功能。
如果你的目标OS是PC版的Windows,可以用SetupDiEnumDeviceInfo。Windows Phone 7没有API提供枚举USB设备的API。
The following is signature, not part of post
Please mark the post answered your question as the answer, and mark other helpful posts as helpful, so they will appear differently to other users who are visiting your thread for the same problem.
Visual C++ MVP- 已标记为答案 Chunbin Hsu 2011年8月25日 3:29
-
C#只是语言规范,没有访问硬件的功能。
如果你的目标OS是PC版的Windows,可以用SetupDiEnumDeviceInfo。Windows Phone 7没有API提供枚举USB设备的API。
The following is signature, not part of post
Please mark the post answered your question as the answer, and mark other helpful posts as helpful, so they will appear differently to other users who are visiting your thread for the same problem.
Visual C++ MVP