Click or drag to resize

TrapV1Pdu Class

Trap v1 PDU.
Inheritance Hierarchy
SystemObject
  Lextm.SharpSnmpLibTrapV1Pdu

Namespace: Lextm.SharpSnmpLib
Assembly: SharpSnmpLib (in SharpSnmpLib.dll) Version: 12.5.7-2+Branch.master.Sha.2a75ece2c9d55c4f731f356d1512c8a5d19fa096.2a75ece2c9d55c4f731f356d1512c8a5d19fa096
Syntax
public sealed class TrapV1Pdu : ISnmpPdu, 
	ISnmpData

The TrapV1Pdu type exposes the following members.

Constructors
 NameDescription
Public methodTrapV1Pdu(TupleInt32, Byte, Stream) Initializes a new instance of the TrapV1Pdu class.
Public methodTrapV1Pdu(ObjectIdentifier, IP, Integer32, Integer32, TimeTicks, IListVariable) Creates a TrapV1Pdu instance with PDU elements.
Public methodTrapV1Pdu(UInt32, IP, Integer32, Integer32, TimeTicks, IListVariable) Creates a TrapV1Pdu instance with PDU elements.
Top
Properties
 NameDescription
Public propertyAgentAddress Agent address.
Public propertyEnterprise Enterprise.
Public propertyErrorIndex Gets the index of the error.
Public propertyErrorStatus Gets the error status.
Public propertyGeneric Generic trap type.
Public propertyRequestId Gets the request ID.
Public propertySpecific Specific trap type.
Public propertyTimeStamp Time stamp.
Public propertyTypeCode Type code.
Public propertyVariables Variable binds.
Top
Methods
 NameDescription
Public methodAppendBytesTo Appends the bytes to Stream.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodToString Returns a String that represents this TrapV1Pdu.
(Overrides ObjectToString)
Top
Extension Methods
 NameDescription
Public Extension MethodToBytes Converts ISnmpData to a byte array.
(Defined by SnmpDataExtension)
Top
Remarks
represents the PDU of trap v1 message.
See Also