Message flags in the SNMP v3 header. Message flags hold flags that indicate if packet is authenticated, privacy protected and if report reply is expected on errors. Message flags field is a 1 byte OctetString encoded field.

Namespace:  SnmpSharpNet
Assembly:  SnmpSharpNet (in SnmpSharpNet.dll) Version: 0.5.0.0 (0.5.0.0)

Syntax

         
 C#  Visual Basic  Visual C++ 
public class MsgFlags : AsnType
Public Class MsgFlags _
	Inherits AsnType
public ref class MsgFlags : public AsnType

Members

               
 All Members  Constructors   Fields   Properties   Methods  
 Public

 Protected
 Instance

 Static 
 Declared

 Inherited
 XNA Framework Only 

 .NET Compact Framework Only 

 MemberDescription
MsgFlags()()()
Standard constructor. All flags are set to false by default.
MsgFlags(Boolean, Boolean, Boolean)
Constructor. Initialize individual flag values.
Authentication
Get/Set authentication flag. Value is true if authentication is used, false if packet is not authenticated
Clone()()()
Clone this class.
(Overrides AsnType..::.Clone()()().)
decode(array<Byte>[]()[], Int32)
Decode message flags from the BER encoded buffer starting at specified offset.
(Overrides AsnType..::.decode(array<Byte>[]()[], Int32).)
encode(MutableByte)
Encode SNMP v3 message flag field
(Overrides AsnType..::.encode(MutableByte).)
Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
FLAG_AUTH
Bit value that, when set, indicates that packet has been authenticated.
FLAG_PRIV
Bit value that, when set, indicates that packet has been privacy protected.
FLAG_REPORTABLE
Bit value that, when set, indicates that sender of the packet expects report packet to be sent by the agent on errors.
GetHashCode()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()
Gets the Type of the current instance.
(Inherited from Object.)
Privacy
Get/Set privacy flag. Value is true if privacy protection is used, false if packet is not privacy protected.
Reportable
Get/Set reportable flag. Value is true if sender expects report packet on errors, false if sender does not expect report packets.
ToString()()()
Return string representation of the object.
(Overrides Object..::.ToString()()().)
Type
Return ASN.1 type of the object stored in this or derived class.
(Inherited from AsnType.)

Inheritance Hierarchy

System..::.Object
  SnmpSharpNet..::.AsnType
    SnmpSharpNet..::.MsgFlags

See Also