Installing #SNMP Library on Windows

By Lex Li

This page shows you how to install #SNMP Library to your project on Windows.

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.
  1. Install latest NuGet Package Manager.
This will install the latest NuGet tooling.
  1. Open/create an empty Windows Forms project.
  2. Install #SNMP Library NuGet packages following NuGet conventions.

The latest package can be found at,


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.

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 on non-Windows platforms) to prepare the code base for compilation.
  3. Open/create a empty Windows Forms project in a solution.
  4. Add SharpSnmpLib.Portable.csproj (release 9.x), SharpSnmpLib.csproj (release 10.0 and above), and SharpSnmpLib.Full.csproj (release 9.x and 10.0.0) in SharpSnmpLib directory to your solution.


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