WINDOWS 系统消息获取, wmi ,及硬盘相关信息contains WMI, SMART and SCSI PassThrough functions, of particular use for getting hard disk information and configuring network adaptors, 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, the computer name, domain/workgroup, BIOS and disk drive information. There are also disk drive functions avoiding WMI, to map physical and SCSI bus disk drives, getting disk information, sizes and serial numbers. For ATA drives, SMART disk failing and fault information may be accessed. Most functions return information in simple string arrays or structures, for easy access in other applications.
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.
2021-05-01 22:11:30
416KB
WMI
1