I need a PING Function in VB.NET for a GAME LAUNCHER program I have written. A quick check on the internet doesn't reveal any good written routines or classes to do this. Does anyone out there know of anygood PING ROUTINES?
Much appreciated.
Printable View
I need a PING Function in VB.NET for a GAME LAUNCHER program I have written. A quick check on the internet doesn't reveal any good written routines or classes to do this. Does anyone out there know of anygood PING ROUTINES?
Much appreciated.
It's in C#, but here is one that should work for you:
http://www.c-sharpcorner.com/network/ping.asp
I brought this down and machine and ran it and got the following error :
Unhandled Exception: System.BadImageFormatException: The format of the file 'pin
g.exe' is invalid.
File name: "ping.exe"
Furthermore I really need a .DLL so I can get a return value inside my .NET application. The way this is written I cant do that.
Any other ideas?
Thanks
I would search this forum, there has been two or three examples that can be put in a class and compiled. I myself have posted a class that will do it. Just search for ping in the the vb.net forum.
Jeremy