CodeGear Developer Network

CodeGear Delphi Partner DVD

Delphi

Exclusive

Magenta Systems WMI and SMART Component v5.0

Any

Magenta Systems WMI and SMART Component v5.0 (Snippet ID 24419)


Magenta Systems Ltd

Magenta Systems WMI and SMART Component contains WMI, SMART and SCSI Pass Through functions, of particular use for getting hard disk information and configuring network adapters, but also for many other general uses.

MagWMI which allows access and update of windows system information using Windows Management Instrumentation. MagWMI provides general view access to any WMI information using SQL like commands, and also a number of dedicated function relating to TCP/IP configuration, such as setting the adaptor IP addresses, and the computer name and domain/workgroup. There are also some examples for getting BIOS and disk drive information using WMI, and also a method using SMART for getting disk information since WMI has limitations on Windows 2000. SMART also returns disk failing or fault information. For disks that don't support SMART, SCSI Pass Through is used to get the drive serial number.

A demo program illustrates the use of all the functions.

Note that WMI may be used to get information from both the local computer and remote computers, the latter needed a valid logon. WMI will only run locally if the Windows Management Instrumentation service is running. Running across a network also needs the RPC service running.

Install Magenta Systems WMI and SMART Component v5.0

Magenta Systems WMI and SMART Component v5.0 home page