the following code is used to access the Win32 processor information....
is there is any other way for getting the win32 processor information (like using different classes). here i have used the class WqlObjectQuery
and ManagementObjectSearcher
.
WqlObjectQuery wquery = new WqlObjectQuery("select * from Win32_Processor");
ManagementObjectSearcher searcher1 = new ManagementObjectSearcher(wquery);
foreach (ManagementObject mo1 in searcher1.Get())
{
Console.WriteLine(mo1.ToString());
}
can we use any other classes to get the properties of win32 processor