Reputation: 5358
what are other ways to do ping in vb.net or c# other than the way found here:
Dim pinger As New System.Net.NetworkInformation.Ping
MessageBox.Show(pinger.Send("192.168.0.119").Status.ToString)
Upvotes: 0
Views: 389
Reputation: 73243
There's a WMI class which encapsulates ping, WIN32_PingStatus, which you can use from a client with XP/2003 or later.
Upvotes: 1
Reputation: 30873
You can launch cmd.exe and execute the ping command by writing to StandardInput To retrieve results read from StandardOutput.
Upvotes: 0