This is a continuation of where I left off with Windows Management Instrumentation (WMI) in my last article ‘My Explorer’. I will show how to access operating system information, services, and processes running on your machine as well as on a remote machine on your network, provided you have administration rights to them. Also I will show you how to start and stop services, terminate processes, and create new processes from WMI. Windows Management Instrumentation (WMI) Implementation
In this WMI application, I have created a WMIControlLibrary which contains four user controls. The four user controls are as follows: Explorer, SystemInfo, Services, and Processes. Each one of these controls does its own specific task. Here is a brief description of what each one of these control does.
· Explorer Control – I converted ‘My Explorer’ to a user control, it still display your system drives, directories, and files information.
· SystemInfo Control* – This control display operating system information and hardware data and specifications.
· Services Control* – This control display services currently running on the system.
· Process Control* – This control display processes currently running on the system.
(* Note: This control can be used to monitor local or remote system on the network.)
Every one of these controls uses the System.Management namespace to access their own specific system information.