December 2008 Entries

Using Windows Management Instrumentation - It's Easy

Want to know what Services or/and Processes are running currently on your PC? In one of my previous project I implemented small diagnostic utility which showed what processes and services are running on host box. Here is the example how to obtain this information. using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Management; namespace ManagementInstrumentation { class Program { static void Main(string[] args) { ListServices(); Console.ReadLine(); ListProcesses();...