Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

How to continually check reachability?

$
0
0

Hello to all,

I am new to Xamarin and really enjoying it...

I am building an iOS App (solely in C# code) that will run on an iPad or iPod in our internal network. I have setup the Reachability.cs and it does work on the simulator startup but it does not refresh when I turn off the wifi on my Macbook Pro. I have two images that display whether there is a connection or not...

I have setup the SQLite database to store records if there is no connection and when there is, a web service will push the data to our main SQL Server. I need to continually check the connection status so that the code knows whether to store the record or push it out.

Could someone please provide a C# example on how to continually check the connectivity? Any help is greatly appreciated!!!

Thank you in advance...


Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>