I have been attempting to get a ping to work within VB .Net with error checking.
All the code I have tried and found works great as long as the computer is online. It fails if the computer is offline. Does anyone have any code to Ping a remote host with code that will work if the computer is off line and not thrown an exception error?
I haven been using the system.net.networkinformation name space to utilize the Ping command there. but to no avail.
All the code I have tried and found works great as long as the computer is online. It fails if the computer is offline. Does anyone have any code to Ping a remote host with code that will work if the computer is off line and not thrown an exception error?
I haven been using the system.net.networkinformation name space to utilize the Ping command there. but to no avail.