The Nstrument .Net Snmp Library Nstrument's Snmp Library for .Net includes a Snmp Control, a Mib Parser and a Trap Receiver. The library also includes a C# unit test project excellent for examples and a Wpf Mib Browser with full source code. Currently, there is support for v1 and v2c. Nstrument offers a run time royalty free license model with a 30 day Trial Period. Purchases include 1 year free maintenance which gets you fee upgrades. SnmpService and SnmpSap The SnmpService provides synchronous and asynchronous implementations for the following SNMP operations: Get, GetNext, GetBulk, Set, TableWalk, and Walk. The SnmpSap ServiceAccessPoint encapsulates all of the parameters that define a specific SNMP agent endpoint IP Address, Version, Credentials, and Timeout. MibService The MibService converts SNMP Mib files into an object graph. This object graph consists of 6 different node types Node, MibTable, MibTableRow, Variable, Notification, and Group. These node objects can be used in conjunction with the SnmpSap to fetch their instances from SNMP agents. The MibService is also capable of turning the loaded object graph into a set of strongly typed classes. These classes can be used to make your code easier to read and maintain. In addition they can be used with LINQ. The following examples show how the strongly typed classes can be used:
|