using System; using System.Management; namespace ProcessorScheduling { class Program { static void Main(string[] args) { ManagementObjectSearcher searcher = new ManagementObjectSearcher("SELECT * FROM Win32_Processor"); foreach (ManagementObject obj in searcher.Get()) { var processorScheduling = obj["ProcessorSchedulingClass"]; Console.WriteLine("Processor Scheduling Mode: " + processorScheduling); } } } }