Xamarin.NetworkManager.Droid 1.0.0

A Xamarin.Droid wrapper binding for NetworkManager

Install-Package Xamarin.NetworkManager.Droid -Version 1.0.0
dotnet add package Xamarin.NetworkManager.Droid --version 1.0.0
paket add Xamarin.NetworkManager.Droid --version 1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

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();

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();

Release Notes

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

  • MonoAndroid 9.0

    • No dependencies.

Version History

Version Downloads Last updated
1.0.0 130 10/18/2018