The Road to Delphi – Typically we use the IcmpSendEcho function or a component like TIdIcmpClient to make a ping from delphi, today i will show you a third way to do this using the WMI (Windows Management Instrumentation). The wmi class which allow you to make a ping request is Win32_PingStatus, to use this class you only need to pass the parameter Address value in your WQL sentence , the form of the Address parameter can be either the computer name (ACCOUNT-PC), IPv4 address (192.168.154.102), or IPv6 address (2010:836B:4179::836B:4179). SELECT * FROM Win32_PingStatus where Address='www.google.com' some of ...
Visits by Source
Users who voted for this posting
Jørn E. Angeltveit