If you are building a universal Windows app or an app for Windows Phone 8.1/Windows 8.1 then the following class can help you check for network availability. Network Availability class This is a singleton class, which means only a single instance of it will exist during the lifecycle of the app. The method NetworkInformationOnNetworkStatusChanged gets […]
While using some internet services in your application you may need to check whether data connection is enabled or disabled on user’s phone. So here is a simple code with the help of which you can check it. The code for the following is given below.