// public string GetDriverVersion(string HardwareID) //找出驱动版本
// {
// string queryString = "SELECT HardwareID, DriverVersion FROM Win32_PnPSignedDriver";
// SelectQuery selectQuery = new SelectQuery(queryString);
// ManagementObjectSearcher searcher = new ManagementObjectSearcher(selectQuery);
// foreach (ManagementObject mo in searcher.Get())
//{
// object tempID = mo["HardwareID"];
// if (tempID != null && tempID.ToString().ToUpper() == HardwareID.Trim().ToUpper())
// {
// return mo["DriverVersion"].ToString();
//}
//}
// return "UnknownVersion";
// }