Im developing a mobile application using Xamarin.forms and i want to know if there is a way to constantly check the wifi network status to detect when the device loses connection and when it connects again I was thinking in have a thread that every second sense the internet connection. But i dont know if maybe there another way Thanks in advance ;)
Asked
Active
Viewed 22 times
0
-
1The other answer does not address the monitoring and/or event consumption part of this question, somebody please re-open question and help a fellow learner :) – DukeDidntNukeEm Jul 20 '21 at 23:58
-
1Maybe the `Xamarin.Essentials.Connectivity.ConnectivityChanged`-Event might help – Kajot Jul 21 '21 at 08:44
-
Thank you both! I´m going to check the solution that is in the other post and also the library commented by @Kajot – Yair Briones Jul 21 '21 at 14:08