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.
Namespace: SnmpSharpNetAssembly: SnmpSharpNet (in SnmpSharpNet.dll) Version: 0.9.1.0 (0.9.1)
Syntax
| C# |
|---|
public int decode( byte[] berBuffer, int length, byte[] authKey, byte[] privKey ) |
| Visual Basic |
|---|
Public Function decode ( _ berBuffer As Byte(), _ length As Integer, _ authKey As Byte(), _ privKey As Byte() _ ) As Integer |
| Visual C++ |
|---|
public: int decode( array<unsigned char>^ berBuffer, int length, array<unsigned char>^ authKey, array<unsigned char>^ privKey ) |
Parameters
- berBuffer
- Type: array<System..::..Byte>[]()[][]
BER encoded SNMP version 3 packet buffer
- length
- Type: System..::..Int32
Buffer length
- authKey
- Type: array<System..::..Byte>[]()[][]
Authentication key (not password)
- privKey
- Type: array<System..::..Byte>[]()[][]
Privacy key (not password)
Return Value
[Missing <returns> documentation for "M:SnmpSharpNet.SnmpV3Packet.decode(System.Byte[],System.Int32,System.Byte[],System.Byte[])"]