The TrapPdu type exposes the following members.

Constructors

  NameDescription
TrapPduOverloaded.

Methods

  NameDescription
Clone
Clone object
(Overrides AsnType..::.Clone()()().)
decode
Decode BER encoded SNMP version 1 trap packet
(Overrides AsnType..::.decode(array<Byte>[]()[], Int32).)
encode
ASN.1 encode SNMP version 1 trap
(Overrides AsnType..::.encode(MutableByte).)
Equals
Determines whether the specified Object is equal to the current Object.
(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.)
GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType
Gets the Type of the current instance.
(Inherited from Object.)
MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
SetOverloaded.
ToString
Returns a String that represents the current Object.
(Inherited from Object.)

Fields

  NameDescription
_agentAddr
The IP Address of the remote agent sending the trap.
_asnType
ASN.1 type byte.
(Inherited from AsnType.)
_enterprise
Trap enterprise Oid
_generic
Generic trap code
_specific
Specific trap code.
_timeStamp
sysUpTime timestamp of the trap event

Properties

  NameDescription
AgentAddress
Get remote agent's IP address.
Count
Returns the number oid/value pairs in the variable binding contained in the PDU
Enterprise
Get trap enterprise identifier
Generic
Get/Set generic code trap value object
Specific
Get/Set specific code trap value object
TimeStamp
Get timeticks trap value object
Type
Get PDU type.
VbCount
Return number of entries in the VbList
VbList
Get VbCollection variable binding list.

See Also