SharpSnmpPro.Mib Assembly Trial Version Reviewers’ Guide¶
By Lex Li
This page shows you a guide on SharpSnmpPro.Mib assembly trial version.
The Trial Edition can be requested here , and is packaged up with the latest #SNMP Library. So below are the assemblies in the ZIP package,
For 1.2 release, the following are included in the ZIP package,
Unlike the Compiler Pro which requires .NET 4.5 and Windows, this assembly can be used on multiple platforms,
- .NET Framework 4.5.2 and above
- Mono 5.0 and above (via .NET Standard 2.0)
- Xamarin.iOS Unified (via .NET Standard 2.0)
- Xamarin.Android (via .NET Standard 2.0)
- Xamarin.Mac (via .NET Standard 2.0)
To test it out, the default test projects can be found at GitHub .
It can be cloned to a local folder, such as
git clone https://github.com/lextm/lextudio/sharpsnmppro-samples.git git checkout release_2.0
For 1.2 release, execute the following commands,
git clone https://github.com/lextm/lextudio/sharpsnmppro-samples.git git checkout release_1.2
Then extract all the files from the ZIP package to that folder (
D:\lextudio/sharpsnmppro-samples for example).
Lastly, execute an extra script to prepare the NuGet local feed,
For 1.2 release, there is no
In Visual Studio you can analyze the two projects in
Tests.csproj is an NUnit project that shows the below,
- How to compile and load MIB documents.
- How to query entity by name.
- How to check description of entities.
- How to verify data against entities.
- How to check
OBJECT-TYPEmacro specific properties.
The trial edition only support simple entities, while the full edition supports all entities.
snmptranslate.csproj is a console application project that illustrates how to translate OIDs to strings (and vice versa) based on compiled MIB documents.
If new projects are going to be created to test out the Trial Edition, please note that you need to follow the provided samples to,
- Include a text file named
- The text file must contain exactly “#SNMP MIB Compiler Pro” (without quotes).
- Build Action for this text file must be set as Embedded Resource.
Without this text file, the Trial Edition should give you an exception with error message “This assembly is not licensed to you. Please buy a license from LeXtudio…”.
The API reference documentation can be found on the help site .