The Pdu type exposes the following members.

Constructors

  NameDescription
PduOverloaded.

Methods

  NameDescription
Clone
Clone this object
(Overrides AsnType..::.Clone()()().)
decode
Decode BER encoded Pdu
(Overrides AsnType..::.decode(array<Byte>[]()[], Int32).)
DeleteVb
Delete VB from the specified location in the VarBind list
encode
Encode Pdu class to BER byte buffer
(Overrides AsnType..::.encode(MutableByte).)
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.)
GetBulkPdu
Create SNMP-GetBulk Pdu
GetFieldInfo (Inherited from Object.)
GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
GetNextPdu
Create SNMP-GetNext Pdu
GetPdu
Create SNMP-GET Pdu from VbList
GetType
Gets the Type of the current instance.
(Inherited from Object.)
GetVb
Get VB from VarBind list at the specified index
MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Reset
Reset VbList.
Set
Copy values from another Pdu class.
SetPdu
Create SNMP-SET Pdu
SetVbList
Set VbList
ToString
Returns a String that represents the current Object.
(Inherited from Object.)

Fields

  NameDescription
_asnType
ASN.1 type byte.
(Inherited from AsnType.)
_errorIndex
Error index value.
_errorStatus
Error status value.
_requestId
Request id value.
_trapObjectID
SNMPv2 trap second Vb is the trap object ID.
_trapTimeStamp
SNMPv2 trap first Vb is the trap time stamp. To create an SNMPv2 TRAP packet, set the timestamp value in this variable
_vbs
Variable binding collection

Properties

  NameDescription
ErrorIndex
ErrorIndex Pdu value
ErrorStatus
ErrorStatus Pdu value
MaxRepetitions
Tells SNMP Agent how many VBs to include in a single request. Only valid on GETBULK requests.
NonRepeaters
Get/Set GET-BULK NonRepeaters value
RequestId
SNMP packet request id that is sent to the SNMP agent. SET this value before making SNMP requests.
TrapObjectID
Get TRAP ObjectID class from SNMPv2 TRAP and INFORM PDUs
TrapSysUpTime
Get TRAP TimeStamp class from SNMPv2 TRAP and INFORM PDUs
Type
Get or SET the PDU type. Available types are GET, GETNEXT, SET, GETBULK. PDU types are defined in Pdu class.
VbCount
Return the number of VB entries in the VarBind list
VbList
VarBind list

See Also