Vote UpVote

Making a PING with Delphi and the WMI

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 (, or IPv6 address (2010:836B:4179::836B:4179). SELECT * FROM Win32_PingStatus where Address='www.google.com' some of ...
Favorite? Off-Topic? Rodrigo @ 2011-02-02 05:55


Visits: 1134
Votes: 4
Favorites: 1
Off-Topic: 0

Visits by Source

User Actions

Users who voted for this posting

Alister Christie
Jørn E. Angeltveit
Contact us to advertise on DelphiFeeds.com

Community Links

Torry Firebird News


Please login or register to use this functionality.
(click on this box to dismiss)