The TrapPdu type exposes the following members.


Public methodTrapPdu()()()()
Public methodTrapPdu(TrapPdu)
Constructs a new trap pdu that is identical to the passed pdu.


Public methodClone
Clone object
(Overrides AsnType..::..Clone()()()().)
Public methoddecode
Decode BER encoded SNMP version 1 trap packet
(Overrides AsnType..::..decode(array<Byte>[]()[][], Int32).)
Public methodencode
ASN.1 encode SNMP version 1 trap
(Overrides AsnType..::..encode(MutableByte).)
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 methodSet(String)
Not implemented. Throws NotImplementedException.
Public methodSet(TrapPdu)
Initialize the class with values from another TrapPdu class.
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)


Protected field_agentAddr
The IP Address of the remote agent sending the trap.
Protected field_asnType
ASN.1 type byte.
(Inherited from AsnType.)
Protected field_enterprise
Trap enterprise Oid
Protected field_generic
Generic trap code
Protected field_specific
Specific trap code.
Protected field_timeStamp
sysUpTime timestamp of the trap event


Public propertyAgentAddress
Get remote agent's IP address.
Public propertyCount
Returns the number oid/value pairs in the variable binding contained in the PDU
Public propertyEnterprise
Get trap enterprise identifier
Public propertyGeneric
Get/Set generic code trap value object
Public propertySpecific
Get/Set specific code trap value object
Public propertyTimeStamp
Get timeticks trap value object
Public propertyType
Get PDU type.
Public propertyVbCount
Return number of entries in the VbList
Public propertyVbList
Get VbCollection variable binding list.

See Also