WMI is fully supported under Microsoft Windows 2000 and Windows XP. Although Windows NT 4.0, as well as Windows 95, 98, and ME provide only a limited support for WMI, most of the examples in this book will run just fine on these platforms. Hence, unless explicitly noted otherwise (there are a few code examples that depend on the software features that are available only under Windows 2000 or XP), you should feel free to compile and run the code on the platform of your choice.

On Windows 2000 and XP platforms, the core components of WMI are installed by default. The core software package for Windows NT 4.0/95/98/ME can be downloaded from MSDN at http://www.microsoft.com/downloads/release.asp?ReleaseID=18490. The following minimal configuration is required to run this software:
• Microsoft Internet Explorer 5.0 or better
• A Microsoft Windows NT 4.0/95/98/ME operating system
• A Pentium-class computer
• 32 MB of RAM
• 30 MB of available hard disk space
• Video graphics card support for 256 colors at 800 × 600 resolution
• A network card

WMI SDK, which contains a slew of useful tools such as CIM Studio, WMI Object Browser, and Event Viewer, is an optional software package; it is available for free download from MSDN at http://download.microsoft.com/download/platformsdk/sdkx86/1.5/NT45/EN US/wmisdk.exe. The software and hardware requirements for WMI SDK are no different from those for the core WMI components.

Certain WMI data providers are not installed by default and have to be downloaded from MSDN. One such example is the WMI SNMP Provider, which can be found at http://www.microsoft.com/downloads/release.asp?ReleaseID=19776. The SNMP Provider only runs under Windows NT 4.0/SP4 or Windows 2000 and requires SNMP service to be installed. Before you install optional provider packages like this one, you should make sure that WMI core components are installed and configured properly.

The System.Management namespace is part of .NET Framework Class Library (FCL) and is distributed as part of .NET Framework SDK, which is available for free download from MSDN at http://download.microsoft.com/download/.netframesdk/SDK/1.0/W98NT42KMeXP/EN-US/setup.exe. The SDK is all you will need to compile and run the examples presented, although you may want to obtain a good code editor. Obviously, the best development environment for .NET projects is Microsoft Visual Studio .NET, which features not only an excellent editor, but also a number of other indispensable tools and utilities. Visual Studio .NET is not a free product and, although well worth its price, it may remain an unaffordable luxury for some developers.

If you are the lucky owner of Visual Studio .NET, you may want to acquire the WMI Management Extension for Server Explorer Component, available for free download from MSDN at http://www.microsoft.com/downloads/release.asp?ReleaseID=31155. This handy utility lets you browse and modify the management data by invoking WMI methods and it also lets you handle and register for WMI events.

Source of Information : Dot NET System Management Services


Subscribe to Developer Techno ?
Enter your email address:

Delivered by FeedBurner