Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
92 lines (64 sloc) 3.19 KB

Installing #SNMP Library

By `Lex Li`_

This page shows you how to install #SNMP Library to your project on Windows. The usage on other platforms (macOS and Linux) should be quite similar.

In this article:

Install #SNMP Library via NuGet

The easiest way to get started building applications with #SNMP Library is to install via NuGet in the latest version of Visual Studio 2015 (including the free Community edition).

  1. Install Visual Studio 2015.

    Be sure to specify that you include the Windows and Web Development.

  2. Install latest NuGet Package Manager.

    This will install the latest NuGet tooling.

  3. Open/create an empty Windows Forms project.

  4. Install #SNMP Library NuGet packages following NuGet conventions.

The latest package can be found at,

Note

In 10.0.0 release, the platform extensions package is required for .NET Framework, Xamarin.iOS, and Xamarin.Android applications so as to use DES/AES encryption. This package is no longer needed in release 10.0.1 and above.

Note

In 10.0.9 release, AES privacy providers based on Bouncy Castle are shipped in a new package for .NET Core/UWP scenarios. As Bouncy Castle AES algorithms are slower than native AES in general, if you are targeting a platform with native AES support, such as .NET Framework/Mono/Xamarin, this package should not be used.

Note

DES privacy provider based on Bouncy Castle would be available in 10.0.10 release.

Install #SNMP Library via source code

#SNMP Library source code can be directly used in your project.

  1. Download the source code from GitHub, or clone the repo directly.

  2. Run prepare.bat on Windows (or prepare.sh on non-Windows platforms) to prepare the code base for compilation.

    Note

    This step is no longer needed in release 10.0.10 and above.

  3. Open/create a empty Windows Forms project in a solution.

  4. Add SharpSnmpLib.csproj (release 10.0 and above), and SharpSnmpLib.Full.csproj (10.0.0) in SharpSnmpLib directory to your solution.

Note

SharpSnmpLib.Android.csproj and SharpSnmpLib.iOS.csproj might be used to target Xamarin platforms for release 10.0.0. They are no longer needed for 10.0.1 release and above.

Note

SharpSnmpLib.BouncyCastle.csproj is optional.

Related Resources