Question: a C# program that checks if connected to network by piging a specific website (google.com), if the server replies that means it's connected to the

a C# program that checks if connected to network by piging a specific website (google.com), if the server replies that means it's connected to the internet and if it says "request timed out" or isn't pinging that means it is not connected to the internet. In the case of not connected to the internet, the program should close an external running program, for example "Matlab.exe" and reopen it in 1 min and then check for internet again. In the case of it is connected to internet, it should keep checking every 10 secs.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!