How can I determine if the Internet is available if it is known that there is a network connection? Windows indicates that there is no connection from the Internet to the icons in the notification area. Is it possible to know this condition? Thank you!
Asked
Active
Viewed 163 times
-2
-
2Possible duplicate of [How do I check for a network connection?](https://stackoverflow.com/questions/520347/how-do-i-check-for-a-network-connection) – jAC Aug 02 '18 at 09:16
-
Since you didn't specify a programming language, I assumed C# (.NET langauges). – jAC Aug 02 '18 at 09:17
1 Answers
0
You can try to access(HTTP GET) popular websites such as http://clients3.google.com/generate_204, then check HTTP status code 204

Bill Ryan
- 13
- 2