The MsgFlags type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| MsgFlags()()()() |
Standard constructor. All flags are set to false by default.
| |
| MsgFlags(Boolean, Boolean, Boolean) |
Constructor. Initialize individual flag values.
|
Methods
| Name | Description | |
|---|---|---|
| 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 | (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.) | |
| 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
| Name | Description | |
|---|---|---|
| _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
| Name | Description | |
|---|---|---|
| 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 |
Get ASN.1 value type stored in this class.
(Inherited from AsnType.) |