MG-SOFT SNMP Software Development Lab

Programing source code examples


Windows SNMP Version 1.1a specification and Windows SNMP V2.0 Addendum should be used as the main reference when developing WinSNMP-based applications. WinSNMP API Version 3.0 describes MG-SOFT's SNMPv3 USM extensions added to the WinSNMP API Version 2.0. WinSNMP API Version 4.0 describes MG-SOFT's SNMPv3 TSM (SNMPv3 over (D)TLS) extensions added to the WinSNMP API Version 3.0.

Above API reference documents are installed along with the MG-SOFT SNMP Software Development Lab package.

MG-SOFT SNMP Software Development Lab installs a number of source code samples, illustrating various programming techniques in using WinSNMP, WinMIB and SNMP EasyAgent APIs. These source code samples can be compiled into working applications by using a wide range of development tools and programming languages. You can use these source code samples as a firm starting point for developing your value added SNMP management application. The following programming examples install with the SNMP Software Development Lab for Windows:

MG-SOFT Micro MIB Browser implemented in Microsoft Visual C# is a .NET GUI application with full source code and project file. The source code illustrates numerous aspects of utilizing SNMPv3 API extensions and can be used as a base for developing more sophisticated SNMPv3 USM and TSM management applications in Microsoft .NET development environment [WinSNMP, SNMPv3 USM and TSM, SNMP over UDP and TCP, .NET GUI application].
MG-SOFT Micro MIB Browser implemented in Microsoft Visual C++ is a MFC GUI application with full source code and project file. The source code illustrates numerous aspects of utilizing SNMPv3 API extensions and can be used as a base for developing more sophisticated SNMPv3 USM and TSM management applications in Microsoft Visual C++ [WinSNMP, SNMPv3 USM and TSM, SNMP over UDP and TCP, GUI application].
MG-SOFT Micro MIB Browser implemented in Borland Delphi is a GUI application with full source code and project file. The source code illustrates numerous aspects of utilizing SNMPv3 API extensions and can be used as a base for developing more sophisticated SNMPv3 USM management applications in Borland Delphi [WinSNMP, SNMPv3 USM, GUI application].
MG-SOFT Micro MIB Browser implemented in C++ using Qt GUI libraries is a GUI application with full source code and project file. The source code illustrates numerous aspects of utilizing SNMPv3 API extensions and can be used as a base for developing more sophisticated SNMPv3 USM and TSM management applications using Qt toolkits [WinSNMP, SNMPv3 USM and TSM, SNMP over UDP and TCP, GUI application].
SNMP PING - complete source code example for a command line utility with the unicode support for retreiving and modifying values of SNMP variables in SNMP agents. It supports SNMPv1, SNMPv2c and SNMPv3 GetNext, GetBulk, Set and Walk operations over UDP and TCP. It support SNMPv3 USM and TSM [WinSNMP, SNMPv3 USM and TSM, SNMP over UDP and TCP, C/C++ unicode console application].
SEND TRAP - complete source code example for a command line utility for sending SNMP traps [WinSNMP, C/C++ console application].
MIB DUMP - complete source code example for a command line utility utilizing the WinMIB API [WinMIB, C/C++ console application].
EA SAMPLE .NET - complete source code example for the SNMP agent extension GUI application running on MS .NET framework. This sample subagent application implements the MGSOFT-MGBEEP-MIB module by utilizing the SNMP EasyAgent API [EasyAgent, C# GUI application].
EA SAMPLE - complete source code for the SNMP agent extension sample application implementing the MGSOFT-MGBEEP-MIB module by utilizing the SNMP EasyAgent API [EasyAgent, C/C++ console application].
SNMP GET - complete source code example for a command line utility capable of performing the SNMP Get operation [WinSNMP, SNMPv3 USM, C/C++ console application].
SNMP GET .NET - complete source code example for a .NET command line utility capable of performing the SNMP Get operation [WinSNMP, SNMPv3 USM, C# console application].
SNMP GETNEXT - complete source code example for a command line utility capable of performing the SNMP GetNext operation [WinSNMP, SNMPv3 USM, C/C++ console application].
SNMP GETBULK - complete source code example for a command line utility capable of performing the SNMP GetBulk operation [WinSNMP, SNMPv3 USM, C/C++ console application].
SNMP SET - complete source code example for a command line utility capable of performing the SNMP Set operation [WinSNMP, SNMPv3 USM, C/C++ console application].
SNMP WALK - complete source code example for a command line utility capable of performing the "Walk" operation [WinSNMP, SNMPv3 USM, C/C++ console application].