Hello all! I'm use .net framework 3.5, Does anybody know how cam i get HardwareIds and CompatibleIds for device using WMI. for example i can get device info using this code (WMI):
ManagementObjectSearcher searcher = new ManagementObjectSearcher("select
* from " + "Win32_VideoController");
foreach (ManagementObject share in searcher.Get())
{
foreach (PropertyData PC in share.Properties)
{
Console.Write(PC.Name);
Console.WriteLine(PC.Value.ToString());
}
}
but, i dont know how to get HardwareIds and CompatibleIds
Thanks!!!