Xamarin Blog

An open source mobile platform for building Android, iOS, macOS, watchOS, and tvOS apps with .NET.

Easily Check Mobile Device Connectivity with Xamarin.Essentials

As a mobile app developer, it's great to be able to pull data from the server to our apps to provide users with a delightful experience. Of course, until your user puts their device on airplane mode or hits a rough patch with no cell reception. To provide the best user experience we need access to the current network state of our users' device. Better yet, be able to register for changes to that network state. Doing this will allow our mobile apps to react to different network conditions to provide users with instant feedback. With the connectivity API in Xamarin.Essentials, we can do just that with a few lines of code.

Protect your Xamarin.Android Apps at Runtime with Dotfuscator

n a previous blog we discussed obfuscating your Xamarin application with Dotfuscator Community to protect it from reverse-engineering. That kind of protection is an important and necessary layer in your application's security posture, but it shouldn't be the only layer. The application also needs to react to threats at runtime in order to protect its own integrity, and to protect the data that it accesses.

Feedback usabilla icon