The SnmpV2Packet type exposes the following members.


Public methodSnmpV2Packet()()()()
Standard constructor.
Public methodSnmpV2Packet(String)
Standard constructor.


Public methodBuildInformResponse()()()()
Build SNMP RESPONSE packet for the received INFORM packet.
Public methodStatic memberBuildInformResponse(SnmpV2Packet)
Build SNMP RESPONSE packet for the INFORM packet class.
Public methoddecode
Decode received SNMP packet.
(Overrides SnmpPacket..::..decode(array<Byte>[]()[][], Int32).)
Public methodencode()()()()
Encode SNMP packet for sending.
(Overrides SnmpPacket..::..encode()()()().)
Public methodencode(MutableByte)
Wrap BER encoded SNMP information contained in the parameter MutableByte class. Information in the parameter is prepended by the SNMP version field and wrapped in a sequence header. Derived classes call this method to finalize SNMP packet encoding.
(Inherited from SnmpPacket.)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from 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 methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
String representation of the SNMP v1 Packet contents.
(Overrides Object..::..ToString()()()().)


Public field_pdu
SNMP Protocol Data Unit
Protected field_protocolVersion
SNMP protocol version
(Inherited from SnmpPacket.)
Protected field_snmpCommunity
SNMP community name


Public propertyCommunity
Get SNMP community value used by SNMP version 1 and version 2 protocols.
Public propertyIsNotification
Packet is a notification
(Inherited from SnmpPacket.)
Public propertyIsReport
Packet is a report
(Inherited from SnmpPacket.)
Public propertyIsRequest
Packet is a request
(Inherited from SnmpPacket.)
Public propertyIsResponse
Packet is a response
(Inherited from SnmpPacket.)
Public propertyPdu
Access to the packet Pdu.
(Overrides SnmpPacket..::..Pdu.)
Public propertyVersion
SNMP Protocol version
(Inherited from SnmpPacket.)

See Also