In Monotouch on an iPhone/iPod, how do I detect if there is an internet connection available?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The best way right now is to use this class from Miguel de Icaza’s GitHub repository:
https://github.com/xamarin/monotouch-samples/blob/master/ReachabilitySample/reachability.cs
Its a static class with a lot of methods, so all you have to do is add it to your project and call, for example: