Simple Network Management Protocol Open Source library written in c# with support for SNMP version 1, 2c and 3.

Classes

  ClassDescription
AgentParameters
SNMP Agent specific values. This class stores values to access SNMP version 1 and version 2 agents. Pass this class with your request data (Pdu) to the request method of the target class to make a request.
AsnType
Base class for all ASN.1 value classes
Authentication
Authentication helper class
AuthenticationMD5
MD5 Authentication class.
AuthenticationSHA1
SHA-1 Authentication class.
Counter32
ASN.1 Counter32 type implementation.
Counter64
ASN.1 Counter64 value implementation.
EndOfMibView
Returned when end of MIB has been reached when performing GET-NEXT or GET-BULK operations.
EthernetAddress
EthernetAddress class encapsulates a 6 byte OctetString representing an Ethernet MAC address.
Gauge32
ASN.1 Gauge32 value class.
Integer32
This class defines the SNMP 32-bit signed integer used by the SNMP SMI. This class also serves as a base class for any additional SNMP SMI types that exits now or may be defined in the future.
IpAddress
ASN.1 IPAddress type implementation
MsgFlags
Message flags in the SNMP v3 header. Message flags hold flags that indicate if packet is authenticated, privacy protected and if report reply is expected on errors. Message flags field is a 1 byte OctetString encoded field.
MutableByte
Mutable byte implementation class
NoSuchInstance
SNMPv2 noSuchInstance error
NoSuchObject
SNMPv2 NoSuchObject error
Null
ASN.1 Null value implementation.
OctetString
ASN.1 OctetString type implementation
Oid
ASN.1 ObjectId type implementation
Opaque
Opaque type is an application-wide type supports the capability to pass arbitrary ASN.1 syntax
Pdu
SNMP Protocol Data Unit
PrivacyAES
AES privacy protocol implementation class.
PrivacyAES128
AES 128-bit key size privacy protocol implementation class.
PrivacyDES
DES privacy protocol implementation class.
PrivacyProtocol
Privacy protocol helper class.
ScopedPdu
SNMP Version 3 Scoped Protocol Data Unit.
SecureAgentParameters
Secure SNMPv3 agent parameters
Sequence
Represents SNMP sequence
SimpleSnmp
Utility class to enable simplified access to SNMP version 1 and version 2 requests and replies.
SnmpConstants
SNMP SMI version 1, version 2c and version 3 constants.
SnmpDecodingException
Exception thrown on failure to decode BER encoded information.
SnmpError
Helper returns error messages for SNMP v1 and v2 error codes
SnmpException
SNMP generic exception. Thrown every time SNMP specific error is encountered.
SnmpNetworkException
SNMP network exception
SnmpPacket
Base SNMP packet class.
SnmpV1Packet
SNMP version 1 packet class. Supported types are SNMP-GET, SNMP-GETNEXT, SNMP-SET and SNMP-RESPONSE.
SnmpV1TrapPacket
SNMP version 1 TRAP packet class.
SnmpV2Packet
SNMP version 2 packet class.
SnmpV3Packet
SNMP version 3 packet implementation class.
SNMPV3ReportError
SNMP class translates SNMP version 3 report errors into error strings.
TimeTicks
ASN.1 TimeTicks value representation. Value is stored as an unsigned 32-bit integer and stores the number of 1/100s of a second periods of uptime.
TrapAgent
Send SNMP Trap notifications
TrapPdu
SNMP version 1 TRAP Protocol Data Unit
UdpTarget
Transport class for IPv4 using UDP
UdpTransport
IP/UDP transport class.
UInteger32
ASN.1 unsigned 32-bit integer value class.
UserSecurityModel
User security model implementation class.
V2Error
Base class for SNMP version 2 error type. For details see NoSuchInstance, NoSuchObject and EndOfMibView.
V2PartyClock
Defines an SNMPv2 Party Clock. The Party Clock is currently Obsolete, but included for backwards compatibility. Obsoleted in RFC 1902.
Vb
Vb item. Stores Oid => value pair for each value
VbCollection
Just a placeholder class extending ArrayList class dedicated to hold the Vb collection

Interfaces

  InterfaceDescription
IAgentParameters
Every agent parameters class implements this interface
IAuthenticationDigest
Authentication digest interface. Interface defines authentication methods for incoming and outgoing requests.
IPrivacyProtocol
Privacy protocol interface. Defines encryption and decryption methods for all privacy protocols allowing for any of the available protocols to be cast as the interface and called to perform privacy operations on packets.

Delegates

  DelegateDescription
SnmpAsyncResponse
Callback used to pass result of an async SNMP operation back to the caller.

Enumerations

  EnumerationDescription
AsyncRequestResult
Result codes sent by UdpTarget class to the SnmpAsyncCallback delegate.
AuthenticationDigests
Enumeration of available authentication digests
PduType
Enumeration of available Protocol Data Unit types
PrivacyProtocols
Privacy protocol enumeration.
SnmpVersion
SNMP Version number enumeration