Version: 4.7.0.1
Create custom SNMP Manager, Trap and Agent applications for monitoring and controlling network devices. 

Code Examples

These code snippets can be copied and pasted into your project.

Code Snippet Description
Manager Example Demonstrates how to send a request to an agent and receive its response.
Agent Example Demonstrates how to start an agent that receives and responds to queries.
Trap Catcher Example Demonstrates how to receive and process traps and inform requests.
MIB Walker Example Demonstrates how to retrieve all variables under a specified OID.
Get Table Example Demonstrates how to retrieve and display an SNMP table.

Sample Projects

Samples are working applications demonstrating SNMP for .NET components in C#, VB.NET, C++/CLI and PowerShell. Source code included.

 

Sample Name Sample Description
Agent  Demonstrates responding to SNMP requests and sending trap and inform messages.
Manager  Demonstrates getting and setting Agent variables, sending and receiving inform messages, retrieving tables, and receiving traps.
Manager Task Async  Uses the Manager Component to build a simple manager. Supports queries for basic variables, either by discovery or specific address. Also shows how to set values. Uses GetResponseTaskAsync to retrieve variable values and send informs.
Trap Catcher  Demonstrates receiving and processing trap messages.
MIB Treeview  Demonstrates displaying mibs in a tree structure and on-demand mib parsing. Also demonstrates mib compilation into code files.
MIB Walker  Demonstrates discovering and retrieving variables supported by an agent under a specified OID.
SNMP Poll  Demonstrates simultaneous high-performance polling of numerous variables.
Web Manager (ASP.NET)  Demonstrates getting Agent variable values in a web application.
Web Service Manager Demonstrates getting Agent variable values in a web service application. Includes example consumer app.
WCF Service Manager Demonstrates getting Agent variable values in a Windows Communication Foundation (WCF) service application. Includes example consumer app.
WPF Simple Manager Demonstrates using the Manager component to build a simple manager in WPF
Agent Console Demonstrates a simple blocking Agent in a console application.
Trap Console Demonstrates a simple blocking trap catcher using the Manager component in a console application.
Agent Service Uses the Agent Component to build an agent as a windows service.
Trap Service Demonstrates a simple trap catcher using the Manager component in a windows service.

Application Projects

Applications are more sophisticated than samples and demonstrate more comprehensive functionality.

Application Name Application Description
Free SNMP Manager  Demonstrates a fully functional SNMP Manager application. WinForms C# source.

 

 Download SNMP Sample Projects