Xamarin.NetworkManager
1.0.2
dotnet add package Xamarin.NetworkManager --version 1.0.2
NuGet\Install-Package Xamarin.NetworkManager -Version 1.0.2
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" 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.
#r "nuget: Xamarin.NetworkManager, 1.0.2"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Xamarin.NetworkManager as a Cake Addin #addin nuget:?package=Xamarin.NetworkManager&version=1.0.2 // Install Xamarin.NetworkManager as a Cake Tool #tool nuget:?package=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();
Product | Versions Compatible and additional computed target framework versions. |
---|---|
MonoAndroid | monoandroid90 is compatible. |
Xamarin.iOS | xamarinios10 is compatible. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
MonoAndroid 9.0
- Autofac (>= 4.8.1)
- Microsoft.NETCore.Platforms (>= 2.1.1)
- Microsoft.Win32.Primitives (>= 4.3.0)
- NETStandard.Library (>= 2.0.3)
- System.AppContext (>= 4.3.0)
- System.Collections (>= 4.3.0)
- System.Collections.Concurrent (>= 4.3.0)
- System.ComponentModel (>= 4.3.0)
- System.Console (>= 4.3.1)
- System.Diagnostics.Debug (>= 4.3.0)
- System.Diagnostics.Tools (>= 4.3.0)
- System.Diagnostics.Tracing (>= 4.3.0)
- System.Globalization (>= 4.3.0)
- System.Globalization.Calendars (>= 4.3.0)
- System.IO (>= 4.3.0)
- System.IO.Compression (>= 4.3.0)
- System.IO.Compression.ZipFile (>= 4.3.0)
- System.IO.FileSystem (>= 4.3.0)
- System.IO.FileSystem.Primitives (>= 4.3.0)
- System.Linq (>= 4.3.0)
- System.Linq.Expressions (>= 4.3.0)
- System.Net.Http (>= 4.3.4)
- System.Net.Primitives (>= 4.3.0)
- System.Net.Sockets (>= 4.3.0)
- System.ObjectModel (>= 4.3.0)
- System.Reflection (>= 4.3.0)
- System.Reflection.Extensions (>= 4.3.0)
- System.Reflection.Primitives (>= 4.3.0)
- System.Resources.ResourceManager (>= 4.3.0)
- System.Runtime (>= 4.3.0)
- System.Runtime.Extensions (>= 4.3.0)
- System.Runtime.Handles (>= 4.3.0)
- System.Runtime.InteropServices (>= 4.3.0)
- System.Runtime.InteropServices.RuntimeInformation (>= 4.3.0)
- System.Runtime.Numerics (>= 4.3.0)
- System.Security.Cryptography.Algorithms (>= 4.3.1)
- System.Security.Cryptography.Encoding (>= 4.3.0)
- System.Security.Cryptography.Primitives (>= 4.3.0)
- System.Security.Cryptography.X509Certificates (>= 4.3.2)
- System.Text.Encoding (>= 4.3.0)
- System.Text.Encoding.Extensions (>= 4.3.0)
- System.Text.RegularExpressions (>= 4.3.0)
- System.Threading (>= 4.3.0)
- System.Threading.Tasks (>= 4.3.0)
- System.Threading.Timer (>= 4.3.0)
- System.Xml.ReaderWriter (>= 4.3.1)
- System.Xml.XDocument (>= 4.3.0)
-
Xamarin.iOS 1.0
- Autofac (>= 4.8.1)
- Microsoft.NETCore.Platforms (>= 2.1.1)
- Microsoft.Win32.Primitives (>= 4.3.0)
- NETStandard.Library (>= 2.0.3)
- System.AppContext (>= 4.3.0)
- System.Collections (>= 4.3.0)
- System.Collections.Concurrent (>= 4.3.0)
- System.ComponentModel (>= 4.3.0)
- System.Console (>= 4.3.1)
- System.Diagnostics.Debug (>= 4.3.0)
- System.Diagnostics.Tools (>= 4.3.0)
- System.Diagnostics.Tracing (>= 4.3.0)
- System.Globalization (>= 4.3.0)
- System.Globalization.Calendars (>= 4.3.0)
- System.IO (>= 4.3.0)
- System.IO.Compression (>= 4.3.0)
- System.IO.Compression.ZipFile (>= 4.3.0)
- System.IO.FileSystem (>= 4.3.0)
- System.IO.FileSystem.Primitives (>= 4.3.0)
- System.Linq (>= 4.3.0)
- System.Linq.Expressions (>= 4.3.0)
- System.Net.Http (>= 4.3.4)
- System.Net.Primitives (>= 4.3.0)
- System.Net.Sockets (>= 4.3.0)
- System.ObjectModel (>= 4.3.0)
- System.Reflection (>= 4.3.0)
- System.Reflection.Extensions (>= 4.3.0)
- System.Reflection.Primitives (>= 4.3.0)
- System.Resources.ResourceManager (>= 4.3.0)
- System.Runtime (>= 4.3.0)
- System.Runtime.Extensions (>= 4.3.0)
- System.Runtime.Handles (>= 4.3.0)
- System.Runtime.InteropServices (>= 4.3.0)
- System.Runtime.InteropServices.RuntimeInformation (>= 4.3.0)
- System.Runtime.Numerics (>= 4.3.0)
- System.Security.Cryptography.Algorithms (>= 4.3.1)
- System.Security.Cryptography.Encoding (>= 4.3.0)
- System.Security.Cryptography.Primitives (>= 4.3.0)
- System.Security.Cryptography.X509Certificates (>= 4.3.2)
- System.Text.Encoding (>= 4.3.0)
- System.Text.Encoding.Extensions (>= 4.3.0)
- System.Text.RegularExpressions (>= 4.3.0)
- System.Threading (>= 4.3.0)
- System.Threading.Tasks (>= 4.3.0)
- System.Threading.Timer (>= 4.3.0)
- System.Xml.ReaderWriter (>= 4.3.1)
- System.Xml.XDocument (>= 4.3.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Code Refactoring
Minor fixes