4
votes
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 (192.168.154.102), 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

Statistics

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

Visits by Source

User Actions

Users who voted for this posting

Alister Christie
Barton_Stano
Jørn E. Angeltveit
Tier777
Subscribe:
Contact us to advertise on DelphiFeeds.com

Community Links

Torry Firebird News

Sponsor

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