Alexey_Gawrilow
Advanced Member | Редактировать | Профиль | Сообщение | ICQ | Цитировать | Сообщить модератору wbsg Ну не нельзя же так! Реестр не должен рассматриваться как источник подобной информации. 1) WMI 2) API 3) реестр, в самую последнюю очередь, ибо моветон раз, все может измениться два. Из свежего, не реклама, просто недавно смотрел: 1)Magenta Systems WMI and SMART Component v.5.2 FWS 371 k NEW 12 Jul 2010 By Magenta Systems Ltd. Magenta Systems WMI and SMART Component 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, 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. http://www.torry.net/vcl/system/systeminfo/magwmi52.zip http://www.magsys.co.uk/delphi/magwmi.asp 2)Magenta Systems Internet Protocol Helper Component v.2.3 FWS 338 k NEW 12 Jul 2010 By Magenta Systems Ltd. Magenta Systems Internet Protocol Helper Component is a set of functions implementing the the Internet Protocol Helper (IP Helper) APIs. They enable the retrieval and modification of network configuration settings for the local computer. The component loads all functions dynamically so applications will still run on earlier Windows versions that did not support certain IP Helper functions. The component returns the various parameters returned by the APIs as Delphi records, for ease of integration into applications. A comprehensive TCP/IP/ARP Monitor application is included using all the APIs to display TCP and UPD Connections (and the names of applications using them), IP address and routing tables, network adaptor information (such as MAC and IP addresses), ARP table, network statistics and dynamic DNS server addresses. http://www.torry.net/vcl/internet/packs/magiphlp23.zip http://www.magsys.co.uk/delphi/magiphlp.asp
---------- C уважением, Алексей. ----------------------------------------------- Хороших %s не бывает — бывает не худший вариант. |
|