Could you help me please?, this code dont' work, I' dont' see output
from the console.
thanks
ManagementScope serverremoto = new
ManagementScope(@"\\pctest\root\cimv2");
ObjectQuery ob = new ObjectQuery("Select * From
Win32_fan","availability");
ManagementObjectSearcher searcher = new
ManagementObjectSearcher(serverremoto,ob);
ManagementObjectCollection ritornocollezzione = searcher.Get();
foreach(ManagementObject col in searcher.Get())
Console.WriteLine(col.GetPropertyValue("Availabili ty"));
Console.ReadLine();
thanks in advance