This component is part of the IP Works Enterprise ASP.NET Component Library.
The SNMPMgr component is used to implement SNMP Management Applications.
NOTE: What follows is a very short description of the component interfaces. For more information, please consult the help files that come with the respective package.
Remarks
The SNMPMgr component implements a standard SNMP Manager as specified in the SNMP RFCs. The component supports SNMP v1, v2c, and v3.
The component provides both encoding/decoding and transport capabilities, making the task of developing a custom SNMP manager as simple as setting a few key properties and handling a few events. SNMP data, such as for instance SNMP object id-s (OID-s) are exchanged as text strings, thus further simplifying the task of handling them.
The component is activated/deactivated by setting the Active property. This property enables or disables sending and receiving.
Messages are received through events such as Response, Trap, or InformRequest. SNMP Traps are received through the Trap event.
Messages are sent to other agents or managers by using component's methods such as SendGetRequest, SendGetNextRequest, SendGetBulkRequest, SendSetRequest, and SendInformRequest.
SNMP OIDs, types, and values are provided in arrays such as ObjId, ObjType, and ObjValue, for both sent and received packets. ObjCount provides the number of elements in each of the arrays.
SNMPv3 USM security is enabled by setting properties such as User and Password and calling the Discover method to bind to a particular agent (RemoteEngineId). Upon successful discovery, received packets are checked for integrity (authentication) and timeliness. Note that the discovery step is optional, and may be avoided if the values for RemoteEngineId, RemoteEngineBoots, and RemoteEngineTime are known in advance and provided to the component through the respective properties.
By default, the component operates synchronously (except for the Discover method), sending a request and waiting until the corresponding response has been received. This behavior may be overridden by setting Timeout to 0, in which case the component returns control immediately after a send, and responses are received exclusively through the Response event.
More Information: http://www.nsoftware.com/products/component/snmpmgr.aspx |