The SnmpConstants type exposes the following members.

Constructors

  NameDescription
SnmpConstants
SnmpConstants
Private constructor to prevent the class with all static members from being instantiated.

Methods

  NameDescription
DumpHex
Debugging function used to dump on the console supplied byte array in a format suitable for console output.
Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
FieldGetter (Inherited from Object.)
FieldSetter (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.)
GetFieldInfo (Inherited from Object.)
GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
GetSyntaxObjectOverloaded.
GetType
Gets the Type of the current instance.
(Inherited from Object.)
GetTypeName
Return string representation of the SMI value type.
IsValidVersion
Check if SNMP version value is correct
MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
ToString
Returns a String that represents the current Object.
(Inherited from Object.)

Fields

  NameDescription
AuthenticationFailure
Authentication-failure trap
ColdStart
Cold start trap
EgpNeighborLoss
EGP Neighbor Loss trap
enterpriseSpecific
Enterprise specific error
EnterpriseSpecific
Enterprise Specific trap
ErrAuthorizationError
Authorization failed
ErrBadValue
Invalid value
ErrCommitFailed
Unable to commit values
ErrGenError
Generic error
ErrInconsistentName
Inconsistent object identifier
ErrInconsistentValue
Inconsistent value
ErrNoAccess
Access denied
ErrNoCreation
Insufficient rights to perform create operation
ErrNoError
No error
ErrNoSuchName
Object identifier does not exist
ErrNotWritable
Instance not writable
ErrReadOnly
Requested invalid operation on a read only table
ErrResourceUnavailable
Requested resource is not available
ErrTooBig
Request too big
ErrUndoFailed
Undo request failed
ErrWrongEncoding
Invalid encoding
ErrWrongLength
Incorrect length
ErrWrongType
Incorrect type
ErrWrongValue
Object does not have correct value
LinkDown
Link down trap
LinkUp
Link up trap
SMI_APPSTRING
An application string is a sequence of octets defined at the application level. Although the SMI does not define an Application String, it does define an IP Address which is an Application String of length four.
SMI_APPSTRING_STR
String representation of the SMI_APPSTRING type.
SMI_COUNTER32
A non-negative integer that may be incremented, but not decremented. The value is a 32-bit unsigned quantity representing the range of zero to 2^32-1 (4,294,967,295). When the counter reaches its maximum value it wraps back to zero and starts again.
SMI_COUNTER32_STR
String representation of the SMI_COUNTER32 type.
SMI_COUNTER64
Defines a 64-bit unsigned counter. A counter is an integer that can be incremented, but cannot be decremented. A maximum value of 2^64 - 1 (18,446,744,073,709,551,615) can be represented. When the counter reaches it's maximum it wraps back to zero and starts again.
SMI_COUNTER64_STR
String representation of the SMI_COUNTER64 type.
SMI_ENDOFMIBVIEW
The SNMPv2 error representing the End-Of-Mib-View. This error variable will be returned by a SNMPv2 agent if the requested object identifier has reached the end of the agent's mib table and there is no lexicographic successor.
SMI_GAUGE32
Represents a non-negative integer that may increase or decrease with a maximum value of 2^32-1. If the maximum value is reached the gauge stays latched until reset.
SMI_GAUGE32_STR
String representation of the SMI_GAUGE32 type.
SMI_INTEGER
Signed 32-bit integer ASN.1 data type. For implementation, see Integer32
SMI_INTEGER_STR
String representation of the AsnType.INTEGER type.
SMI_IPADDRESS
An IP Address is an application string of length four and is indistinguishable from the SMI_APPSTRING value. The address is a 32-bit quantity stored in network byte order.
SMI_IPADDRESS_STR
String representation of the SMI_IPADDRESS type.
SMI_NOSUCHINSTANCE
The SNMPv2 error representing that there is No-Such-Instance for a particular object identifier. This error is the result of a requested object identifier instance does not exist in the agent's tables.
SMI_NOSUCHOBJECT
The SNMPv2 error representing that there is No-Such-Object for a particular object identifier. This error is the result of a requested object identifier that does not exist in the agent's tables
SMI_NULL
Null ASN.1 value type. For implementation, see Null.
SMI_NULL_STR
String representation of the SMI_NULL type.
SMI_OBJECTID
Object id ASN.1 type. For implementation, see Oid
SMI_OBJECTID_STR
String representation of the SMI_OBJECTID type.
SMI_OPAQUE
Used to support the transport of arbitrary data. The data itself is encoded as an octet string, but may be in any format defined by ASN.1 or another standard.
SMI_OPAQUE_STR
String representation of the SMI_OPAQUE type.
SMI_PARTY_CLOCK
Defines an SNMPv2 Party Clock. The Party Clock is currently Obsolete, but included for backwards compatibility. Obsoleted in RFC 1902.
SMI_SEQUENCE
SEQUENCE Variable Binding code. Hex value: 0x30
SMI_STRING
Data type representing a sequence of zero or more 8-bit byte values. For implementation, see OctetString
SMI_STRING_STR
String representation of the AsnType.OCTETSTRING type.
SMI_TIMETICKS
This represents a non-negative integer that counts time, modulo 2^32. The time is represented in hundredths (1/100th) of a second.
SMI_TIMETICKS_STR
String representation of the SMI_TIMETICKS type.
SMI_UNKNOWN_STR
String representation of the unknown SMI data type.
SMI_UNSIGNED32
Used to represent the integers in the range of 0 to 2^32-1. This type is identical to the SMI_COUNTER32 and are indistinguishable in ASN.1
SMI_UNSIGNED32_STR
String representation of the SMI_UNSIGNED32 type.
snmpInvalidMsgs
SNMP version 3, USM error
snmpUnknownPDUHandlers
SNMP version 3, USM error
snmpUnknownSecurityModels
SNMP version 3, USM error
SysUpTime
sysUpTime.0 OID is the first value in the VarBind array of SNMP version 2 TRAP packets
TrapObjectId
trapObjectID.0 OID is the second value in the VarBind array of SNMP version 2 TRAP packets
usmStatsDecryptionErrors
SNMP version 3, USM error
usmStatsNotInTimeWindows
SNMP version 3, USM error
usmStatsUnknownEngineIDs
SNMP version 3, USM error
usmStatsUnknownSecurityNames
SNMP version 3, USM error
usmStatsUnsupportedSecLevels
SNMP version 3, USM error
usmStatsWrongDigests
SNMP version 3, USM error
v3ErrorOids
Array of all SNMP version 3 REPORT packet error OIDs
WarmStart
Warm start trap

See Also