The Pdu type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| 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 |
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).) | |
| 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 GetBulk Pdu with empty VarBind array. By default initializes NonRepeaters to 0 and MaxRepetitions to 100
| |
| GetBulkPdu(VbCollection) |
Create SNMP-GetBulk Pdu
| |
| GetEnumerator |
Get VarBind collection enumerator.
| |
| GetHashCode |
Returns hash code representing class value.
(Overrides Object..::..GetHashCode()()()().) | |
| GetNextPdu()()()() |
Create GetNext Pdu with empty VarBind array
| |
| GetNextPdu(VbCollection) |
Create SNMP-GetNext Pdu
| |
| GetPdu()()()() |
Create Get Pdu with empty VarBind array
| |
| GetPdu(VbCollection) |
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 Set Pdu with empty VarBind array
| |
| SetPdu(VbCollection) |
Create SNMP-SET Pdu
| |
| SetVbList |
Set VbList
| |
| ToString |
Return string dump of the Pdu class.
(Overrides Object..::..ToString()()()().) |
Explicit Interface Implementations
| Name | Description | |
|---|---|---|
| IEnumerable..::..GetEnumerator |
Get VarBind collection enumerator.
|