PowerSNMP for .NET
MessageBase Class Members
Fields  Properties  Methods 


The following tables list the members exposed by MessageBase.

Public Fields
 NameDescription
Public FieldCommunity Gets or sets the community field in the message.  
Public FieldTag Gets or sets a value that can store any associated object.  
Top
Public Properties
 NameDescription
Public PropertyDecodingException Returns the reason why the message did not pass all decoding checks. All sequences embedded in the PDU are checked.  
Public PropertyDeliveryStatus Indicates whether the message was sent or received.  
Public PropertyDestination Gets or sets the destination of a received or sent message.  
Public PropertyEncodedMessage Returns the encoded message.  
Public PropertyOrigin Gets or sets the origin of a received or sent message.  
Public PropertyTimeStamp Gets the DateTime that the message was created or encoded.  
Public PropertyVariables Gets or sets the VariableCollection containing the IDs and their associated values in the message.  
Public PropertyVersion Gets or sets the SNMP version used for encoding.  
Top
Public Methods
 NameDescription
Public Methodstatic (Shared in Visual Basic)Create Creates an instance of a class derived from MessageBase using the provided buffer.  
Public MethodEncode Encodes all SNMP version 1/2 messages.  
Public MethodToStringReturns a string that represents the current object.  
Top
See Also

Reference

MessageBase Class
Dart.Snmp Namespace


PowerSNMP for .NET Documentation Version 5.0
© 2021 Dart Communications. All Rights Reserved.
Send comments on this topic