The MsgFlags type exposes the following members.

Constructors

  NameDescription
MsgFlags
MsgFlagsOverloaded.

Methods

  NameDescription
Clone
Clone this class.
(Overrides AsnType..::.Clone()()().)
decode
Decode message flags from the BER encoded buffer starting at specified offset.
(Overrides AsnType..::.decode(array<Byte>[]()[], Int32).)
encode
Encode SNMP v3 message flag field
(Overrides AsnType..::.encode(MutableByte).)
Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
FieldGetter (Inherited from Object.)
FieldSetter (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.)
GetFieldInfo (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.)
ToString
Return string representation of the object.
(Overrides Object..::.ToString()()().)

Fields

  NameDescription
_asnType
ASN.1 type byte.
(Inherited from AsnType.)
_authenticationFlag
True if authentication is used to secure the packet, otherwise false.
_privacyFlag
True if ScopedPdu portion of the packet is privacy protected with encryption, otherwise false.
_reportableFlag
True if reportable flag is set, otherwise false.
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.

Properties

  NameDescription
Authentication
Get/Set authentication flag. Value is true if authentication is used, false if packet is not authenticated
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.
Type
Return ASN.1 type of the object stored in this or derived class.
(Inherited from AsnType.)

See Also