lundi 29 juin 2020

Checking internet connection state as long as the app is running

I'm working on Desktop-based application.

Can I check the internet connection state as long as the application is running?

for example

If the internet is offline, the application should notifies the user that there is no internet connection

/*
But the application should not stop, 
to check the case of reconnection. 
*/

and in case of reconnection, the application will return to working properly.

My question is

How can I make the application check the state of the Internet as long as it's running?

Thanks in advanced đŸ‘đŸ».

Aucun commentaire:

Enregistrer un commentaire