The SimpleSnmp type exposes the following members.

Constructors

Methods

  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGet(SnmpVersion, Pdu)
SNMP GET request
Public methodGet(SnmpVersion, array<String>[]()[][])
SNMP GET request
Public methodGetBulk(array<String>[]()[][])
SNMP GET-BULK request
Public methodGetBulk(Pdu)
SNMP GET-BULK request
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetNext(SnmpVersion, Pdu)
SNMP GET-NEXT request
Public methodGetNext(SnmpVersion, array<String>[]()[][])
SNMP GET-NEXT request
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodSet(SnmpVersion, Pdu)
SNMP SET request
Public methodSet(SnmpVersion, array<Vb>[]()[][])
SNMP SET request
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Public methodWalk
SNMP WALK operation

Fields

  NameDescription
Protected field_community
SNMP community name
Protected field_maxRepetitions
Maximum repetitions value used in SNMP GET-BULK requests
Protected field_nonRepeaters
Non repeaters value used in SNMP GET-BULK requests
Protected field_peerIP
SNMP Agents IP address
Protected field_peerName
SNMP Agents name
Protected field_peerPort
SNMP Agent UDP port number
Protected field_retry
Maximum retry count excluding the first request
Protected field_suppressExceptions
Flag determines if exceptions are suppressed or thrown. When exceptions are suppressed, methods return null on errors regardless of what the error is.
Protected field_target
Target class
Protected field_timeout
Timeout value in milliseconds

Properties

  NameDescription
Public propertyCommunity
Get/Set SNMP community name
Public propertyMaxRepetitions
Get/Set MaxRepetitions value
Public propertyNonRepeaters
Get/Set NonRepeaters value
Public propertyPeerIP
Get/Set peer IP address
Public propertyPeerName
Get/Set peer name
Public propertyPeerPort
Get/Set peer port number
Public propertyRetry
Get/Set maximum retry count
Public propertySuppressExceptions
Get/Set exception suppression flag. If exceptions are suppressed all methods return null on any and all errors. With suppression disabled, you can capture error details in try/catch blocks around method calls.
Public propertyTimeout
Get set timeout value in milliseconds
Public propertyValid
Class validity flag

See Also