The SimpleSnmp type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| SimpleSnmp()()()() | Constructor. | |
| SimpleSnmp(String) |
Constructor.
| |
| SimpleSnmp(String, String) |
Constructor
| |
| SimpleSnmp(String, Int32, String) |
Constructor.
| |
| SimpleSnmp(String, Int32, String, Int32, Int32) |
Constructor.
|
Methods
| Name | Description | |
|---|---|---|
| Equals | (Inherited from Object.) | |
| Finalize |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
| Get(SnmpVersion, Pdu) |
SNMP GET request
| |
| Get(SnmpVersion, array<String>[]()[][]) |
SNMP GET request
| |
| GetBulk(array<String>[]()[][]) |
SNMP GET-BULK request
| |
| GetBulk(Pdu) |
SNMP GET-BULK request
| |
| GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetNext(SnmpVersion, Pdu) |
SNMP GET-NEXT request
| |
| GetNext(SnmpVersion, array<String>[]()[][]) |
SNMP GET-NEXT request
| |
| GetType |
Gets the Type of the current instance.
(Inherited from Object.) | |
| MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| Set(SnmpVersion, Pdu) |
SNMP SET request
| |
| Set(SnmpVersion, array<Vb>[]()[][]) |
SNMP SET request
| |
| ToString | (Inherited from Object.) | |
| Walk | SNMP WALK operation |
Fields
| Name | Description | |
|---|---|---|
| _community |
SNMP community name
| |
| _maxRepetitions |
Maximum repetitions value used in SNMP GET-BULK requests
| |
| _nonRepeaters |
Non repeaters value used in SNMP GET-BULK requests
| |
| _peerIP |
SNMP Agents IP address
| |
| _peerName |
SNMP Agents name
| |
| _peerPort |
SNMP Agent UDP port number
| |
| _retry |
Maximum retry count excluding the first request
| |
| _suppressExceptions |
Flag determines if exceptions are suppressed or thrown. When exceptions are suppressed, methods
return null on errors regardless of what the error is.
| |
| _target |
Target class
| |
| _timeout |
Timeout value in milliseconds
|
Properties
| Name | Description | |
|---|---|---|
| Community |
Get/Set SNMP community name
| |
| MaxRepetitions |
Get/Set MaxRepetitions value
| |
| NonRepeaters |
Get/Set NonRepeaters value
| |
| PeerIP |
Get/Set peer IP address
| |
| PeerName |
Get/Set peer name
| |
| PeerPort |
Get/Set peer port number
| |
| Retry |
Get/Set maximum retry count
| |
| SuppressExceptions |
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.
| |
| Timeout |
Get set timeout value in milliseconds
| |
| Valid | Class validity flag |