Xamarin.NetworkManager 1.0.2

A cross platform wrapper for NetworkManager on iOS and Android

Install-Package Xamarin.NetworkManager -Version 1.0.2
dotnet add package Xamarin.NetworkManager --version 1.0.2
<PackageReference Include="Xamarin.NetworkManager" Version="1.0.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Xamarin.NetworkManager --version 1.0.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

NetworkManager

A Cross platform wrapper for NetworkManager on iOS and Android

Usage:

    using Subsystems.NetworkManagerShared.External;

...
...

    private CMPNetworkManagerSharedProxy _networkManagerProxy;

Initialize

    _networkManagerProxy = new CMPNetworkManagerSharedProxy(this);

NetworkStatusChanged

_networkManagerProxy.NetworkStatusChanged += (object sender,
                                                          CMPNetworkEventArgs e) =>
{

    Console.WriteLine(e.State);

};

_networkManagerProxy.StartMonitoring();

IsNetworkReachable

_networkManagerProxy.IsNetworkReachable();

StartMonitoring

_networkManagerProxy.StartMonitoring();

StopMonitoring

_networkManagerProxy.StopMonitoring();

NetworkManager

A Cross platform wrapper for NetworkManager on iOS and Android

Usage:

    using Subsystems.NetworkManagerShared.External;

...
...

    private CMPNetworkManagerSharedProxy _networkManagerProxy;

Initialize

    _networkManagerProxy = new CMPNetworkManagerSharedProxy(this);

NetworkStatusChanged

_networkManagerProxy.NetworkStatusChanged += (object sender,
                                                          CMPNetworkEventArgs e) =>
{

    Console.WriteLine(e.State);

};

_networkManagerProxy.StartMonitoring();

IsNetworkReachable

_networkManagerProxy.IsNetworkReachable();

StartMonitoring

_networkManagerProxy.StartMonitoring();

StopMonitoring

_networkManagerProxy.StopMonitoring();

Release Notes

Code Refactoring
Minor fixes

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.0.2 190 10/22/2018
1.0.0 127 10/19/2018