Beispiel #1
0
        static void Main(string[] args)
        {
            var wmi = Wmi.Get(WmiSubject.Win32_OperatingSystem, Transpiler.ReadOnlyDictionary, timeout: TimeSpan.FromSeconds(3));

            foreach (var o in wmi)
            {
                foreach (var item in o)
                {
                    Console.WriteLine(item);
                }
                Console.WriteLine();
            }
            Console.WriteLine("...");
            Console.ReadKey();
        }