Xamarin.Forms: checking network connection availability with the Connectivity plugin
Any app needs to check for network connectivity before accessing any resource e.g. on the Internet. In Xamarin.Forms, this is something you would do with platform-specific code, for the Android, iOS, and Windows projects. With the Connectivity plugin, you can instead write shared code in the Portable Class Library project, and write code once instead of coding platform-specific requirements.