Xamarin.NetworkManager.Droid 1.0.0

dotnet add package Xamarin.NetworkManager.Droid --version 1.0.0
NuGet\Install-Package Xamarin.NetworkManager.Droid -Version 1.0.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Xamarin.NetworkManager.Droid" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Xamarin.NetworkManager.Droid --version 1.0.0
#r "nuget: Xamarin.NetworkManager.Droid, 1.0.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Xamarin.NetworkManager.Droid as a Cake Addin
#addin nuget:?package=Xamarin.NetworkManager.Droid&version=1.0.0

// Install Xamarin.NetworkManager.Droid as a Cake Tool
#tool nuget:?package=Xamarin.NetworkManager.Droid&version=1.0.0

NetworkManagerDroid

A Xamarin.Droid wrapper binding for NetworkManager

Usage:

using Subsystems.NetworkManagerDroid.External;
... ...

Initialize

_networkManagerProxy = new CMPNetworkManagerProxy(<url>);

NetworkProxyStatusChanged

event EventHandler<CMPNetworkEventArgs> NetworkProxyStatusChanged - 
_networkManagerProxy.NetworkProxyStatusChanged += (object sender, CMPNetworkEventArgs e) => 
{

    Console.WriteLine(e.NetworkState);
};

IsNetworkReachable

_networkManagerProxy.IsNetworkReachable();

StartMonitoring

_networkManagerProxy.StartMonitoring();
Product Versions
MonoAndroid monoandroid90
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.
  • MonoAndroid 9.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.0 633 10/18/2018

1. Initial version for NetworkMananger component for Droid
2. Wraps Reachability framework
3. Supports only Wifi and Cellular types