ManagementObjectSearcher searcher = new ManagementObjectSearcher("SELECT * FROM Win32_Product");
foreach (ManagementObject wmi in searcher.Get())
{
wmi.GetPropertyValue("Name").ToString()
}
2022-10-20 10:50:30
ManagementObjectSearcher searcher = new ManagementObjectSearcher("SELECT * FROM Win32_Product");
foreach (ManagementObject wmi in searcher.Get())
{
wmi.GetPropertyValue("Name").ToString()
}