如何从 Delphi 或 VB6 访问 USB(笔式驱动器)固件号?

发布于 2024-07-09 13:43:20 字数 67 浏览 4 评论 0原文

我想访问/读取连接在 PC USB 端口上的 Pendrive 的固件编号。

我怎样才能做到这一点?

I want to access/read the Firmware Number of a Pendrive attached on a USB Port of a PC.

How can I do this?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

望她远 2024-07-16 13:43:21

经过一段时间的搜寻后,我发现以下链接可能会为您指明正确的方向。

  1. 艾伦·马塞克
  2. USB-IF 开发者区

编辑:请注意,您可以只查阅注册表,该注册表还存储当前连接的 USB 设备的信息。 请参阅在 XP 上跟踪 USB 设备

After hunting around for a little while I found the following links which may point you in the right direction.

  1. Alan Macek
  2. USB-IF Developers Area

Edit: Mind you, you could just consult the Registry, which also stores info re the currently connected USB device. See Tracing USB Devices on XP

╭⌒浅淡时光〆 2024-07-16 13:43:21

这 100% 取决于协议/供应商。 有一个选项可以将版本信息添加到标准 USB 设备描述符中,但假设每个 USB 笔都使用相同的机制是错误的。

this is 100% protocol/vendor dependent. There is an option to add version information to standard usb device descriptors, but assuming that every usb pen will use same mechanism is wrong.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文