Check for users Internet Connection

How do I check in Xamarin.Android if the user has the internet connection on? Cause I have an application and when I login with he internet connection on it works just fine, but without the internet connection I get a "Not responding" type error.

So I want to make a Toast Message so I can ask the user to activate the internet ( wireless,data usage ) if it's off.

Can someone give me an example of code please?

Best Answer

Answers

Sign In or Register to comment.