The SnmpV3Packet type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| SnmpV3Packet | Overloaded. |
Methods
| Name | Description | |
|---|---|---|
| authNoPriv |
Set class security to enabled authentication and no privacy. To perform authentication,
authentication password needs to be supplied and authentication protocol to be used
to perform authentication.
This method does not initialize the packet user name. Use SNMPV3Packet.SecurityName
method to set the security name (also called user name) for this request.
| |
| authPriv |
Set packet security to authentication enabled and privacy protection enabled (SNMP v3 mode authPriv)
| |
| BuildInformResponse | Overloaded. | |
| decode |
Decode SNMP version 3 packet. This method will perform authentication check and decode privacy protected ScopedPdu. This method will
not check for the timeliness of the packet, correct engine boot value or engine id because it does not have a reference to the engine time prior to this call.
(Overrides SnmpPacket..::.decode(array<Byte>[]()[], Int32).) | |
| DiscoveryRequest |
Build an SNMP version 3 packet suitable for use in discovery process.
| |
| DiscoveryResponse |
Build SNMP discovery response packet.
| |
| encode | Overloaded. | |
| Equals | (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.) | |
| GetUSM |
"Look-ahead" decode of SNMP packet header including USM information
| |
| MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| NoAuthNoPriv | Overloaded. | |
| SetEngineId |
Set authoritative engine id
| |
| SetEngineTime |
Set engine time and boots values
| |
| ToString | (Inherited from Object.) |
Fields
| Name | Description | |
|---|---|---|
| _protocolVersion |
SNMP protocol version
(Inherited from SnmpPacket.) | |
| _securityModel |
Security model code. Only supported security model is UserSecurityModel (integer value 3)
|
Properties
| Name | Description | |
|---|---|---|
| IsDiscoveryPacket |
Packet is a discovery request
| |
| IsNotification |
Packet is a notification
(Inherited from SnmpPacket.) | |
| IsReport |
Packet is a report
(Inherited from SnmpPacket.) | |
| IsReportable |
Get or set SNMP version 3 packet Reportable flag in the message flags section. By default this value is set to true.
| |
| IsRequest |
Packet is a request
(Inherited from SnmpPacket.) | |
| IsResponse |
Packet is a response
(Inherited from SnmpPacket.) | |
| MaxMessageSize |
Get maximum message size to be sent to the agent in the request.
| |
| MessageId |
Get SNMP version 3 message id object.
| |
| MsgFlags |
Message flags interface. Allows you to directly set or clear SNMP version 3 header flags field.
Available flags are MsgFlags.Authentication, MsgFlags.Privacy and MsgFlags.Reportable.
Please be careful how you use this property. After setting authentication or privacy parameters to true,
you will need to update UserSecurityModel authentication and privacy types to the correct
values otherwise encoding/decoding will not work.
| |
| Pdu |
Override base class implementation. Returns class ScopedPdu cast as Pdu
(Overrides SnmpPacket..::.Pdu.) | |
| ScopedPdu |
Access packet ScopedPdu class.
| |
| USM |
Get UserSecurityModel class reference.
| |
| Version |
SNMP Protocol version
(Inherited from SnmpPacket.) |