The Pdu type exposes the following members.

Methods

  NameDescription
Public methodClone
Clone this object
(Overrides AsnType..::..Clone()()()().)
Public methoddecode
Decode BER encoded Pdu
(Overrides AsnType..::..decode(array<Byte>[]()[][], Int32).)
Public methodDeleteVb
Delete VB from the specified location in the VarBind list
Public methodencode
Encode Pdu class to BER byte buffer
(Overrides AsnType..::..encode(MutableByte).)
Public methodEquals
Check class equality with argument. Accepted argument types are: * Integer32 - compared against the request id * Pdu - compared against PduType, request id and contents of VarBind list
(Overrides Object..::..Equals(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 methodStatic memberGetBulkPdu()()()()
Create GetBulk Pdu with empty VarBind array. By default initializes NonRepeaters to 0 and MaxRepetitions to 100
Public methodStatic memberGetBulkPdu(VbCollection)
Create SNMP-GetBulk Pdu
Public methodGetEnumerator
Get VarBind collection enumerator.
Public methodGetHashCode
Returns hash code representing class value.
(Overrides Object..::..GetHashCode()()()().)
Public methodStatic memberGetNextPdu()()()()
Create GetNext Pdu with empty VarBind array
Public methodStatic memberGetNextPdu(VbCollection)
Create SNMP-GetNext Pdu
Public methodStatic memberGetPdu()()()()
Create Get Pdu with empty VarBind array
Public methodStatic memberGetPdu(VbCollection)
Create SNMP-GET Pdu from VbList
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetVb
Get VB from VarBind list at the specified index
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodReset
Reset VbList.
Public methodSet
Copy values from another Pdu class.
Public methodStatic memberSetPdu()()()()
Create Set Pdu with empty VarBind array
Public methodStatic memberSetPdu(VbCollection)
Create SNMP-SET Pdu
Public methodSetVbList
Set VbList
Public methodToString
Return string dump of the Pdu class.
(Overrides Object..::..ToString()()()().)

Explicit Interface Implementations

  NameDescription
Explicit interface implemetationPrivate methodIEnumerable..::..GetEnumerator
Get VarBind collection enumerator.

See Also