Dart SNMP Library 4.0
Decode Method
The received packet.
The address of the sender of the encoded packet, used as the key for the cache parameter. Required for SNMPv3 messages, can be NULL/Nothing otherwise.
The receiving SNMP entity's authoritative engine.
When decoding an SNMPv3 response, the SnmpMessage.Security of the request. Use NULL/Nothing otherwise.
UserList containing possible credentials for decoding the received trap, typically Manager.TrapUsers. Required for SNMPv3, can be NULL/Nothing otherwise.
A cache of Engine objects that may be updated when this PDU is decoded, typically Manager.EngineCache. Required for SNMPv3, can be NULL/Nothing otherwise.
Description
Decode a byte array into this SnmpMessage object.
Syntax
Visual Basic
Public Sub Decode( _
   ByVal bytes As Variant, _
   ByVal messageOrigin As IPEndPoint, _
   ByVal localAuthoritativeEngine As AuthoritativeEngine, _
   ByVal requestSecurity As Security, _
   ByVal trapUserList As UserList, _
   ByVal cache As EngineMap _
) 
Parameters
bytes
The received packet.
messageOrigin
The address of the sender of the encoded packet, used as the key for the cache parameter. Required for SNMPv3 messages, can be NULL/Nothing otherwise.
localAuthoritativeEngine
The receiving SNMP entity's authoritative engine.
requestSecurity
When decoding an SNMPv3 response, the SnmpMessage.Security of the request. Use NULL/Nothing otherwise.
trapUserList
UserList containing possible credentials for decoding the received trap, typically Manager.TrapUsers. Required for SNMPv3, can be NULL/Nothing otherwise.
cache
A cache of Engine objects that may be updated when this PDU is decoded, typically Manager.EngineCache. Required for SNMPv3, can be NULL/Nothing otherwise.
See Also

SnmpMessage Object  | SnmpMessage Members


PowerSNMP for ActiveX Documentation Version 4.0
© 2018 Dart Communications. All Rights Reserved.
Send comments on this topic