SNMP version 1 TRAP packet class.

Namespace: SnmpSharpNet
Assembly: SnmpSharpNet (in SnmpSharpNet.dll) Version: 0.9.1.0 (0.9.1)

Syntax

C#
public class SnmpV1TrapPacket : SnmpPacket
Visual Basic
Public Class SnmpV1TrapPacket _
	Inherits SnmpPacket
Visual C++
public ref class SnmpV1TrapPacket : public SnmpPacket

Remarks

Available packet classes are: This class is provided to simplify encoding and decoding of packets and to provide consistent interface for users who wish to handle transport part of protocol on their own without using the UdpTarget class. SnmpPacket and derived classes have been developed to implement SNMP packet support. For SNMP version 1 and 2 packet, SnmpV1Packet and SnmpV2Packet classes provides sufficient support for encoding and decoding data to/from BER buffers to satisfy requirements of most applications. SNMP version 3 on the other hand requires a lot more information to be passed to the encoder method and returned by the decode method. Attempt of implementing SNMP version 3 as part of SnmpV3Packet class was operational but required too many function arguments to operate so a different interface was developed using dedicated SnmpV3Packet class.

Inheritance Hierarchy

System..::..Object
  SnmpSharpNet..::..SnmpPacket
    SnmpSharpNet..::..SnmpV1TrapPacket

See Also