Hello again.
I'm working on a project and I need to check if the computer has internet access.
The Network.IsAvailable is not good for the project since many computers connect through routers and some routers might not be connected.
I tried with the Ping method, if it's connected it works fine, but i'm getting an unhandled exception "cannot connect to host" if not connected.
My question is: how can I check if the computer is connected and when it is online to start executing the rest of the code.
Also, how can I disable unhandled exceptions? If an exception occurs then the program continues executing without error or "not responding".
Thank you!