问题描述
我编写了一个程序,该程序使用多个无线USB加密狗与我的设备进行通信,但是由于许多人在不同的硬件和操作系统上使用它,因此安装设备驱动程序已成为一个问题,因为他们不是技术人员. 精明.
I have written a program that uses multiple wireless USB Dongles to communicate with my device but as many people are using this on different hardware and operating systems it has become a problem with them installing device drivers as they are not tech. savvy.
我希望能够检查是否为我使用的2个USB加密狗安装了设备驱动程序,如果没有,那么我可以运行使用DPInstall创建的自动设备驱动程序,或者可以从程序中安装驱动程序
I want to be able to check if the device drivers are installed for the 2 USB Dongles that I use and if not then I can run the automatic device driver installed that I created using DPInstall or maybe somehow install the drivers from the program.
第一步是设备驱动程序检测.使用WMI和类查询" Win32_PnPSignedDriver "的成功有限.它并不总是列出我的设备.
The first step is device driver detection. I have had limited success using WMI and the class query 'Win32_PnPSignedDriver'. It does not always list my devices.
有更好的方法吗?
谢谢
推荐答案
谢谢.
这篇关于获取USB加密狗的已安装设备驱动程序列表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!