Verifies correct MD5 authentication of the frame. Prior to calling this method, you have to extract authentication
parameters from the wholeMessage and reset authenticationParameters field in the USM information block to 12 0x00
values.
Namespace:
SnmpSharpNet
Assembly:
SnmpSharpNet (in SnmpSharpNet.dll) Version: 0.6.0.0 (0.6.0.0)
Syntax
| C# |
|---|
public bool authenticateIncomingMsg(
byte[] userPassword,
byte[] engineId,
byte[] authenticationParameters,
MutableByte wholeMessage
) |
| Visual Basic (Declaration) |
|---|
Public Function authenticateIncomingMsg ( _
userPassword As Byte(), _
engineId As Byte(), _
authenticationParameters As Byte(), _
wholeMessage As MutableByte _
) As Boolean |
Return Value
True if message authentication has passed the check, otherwise false
Implements
IAuthenticationDigest..::.authenticateIncomingMsg(array<Byte>[]()[], array<Byte>[]()[], array<Byte>[]()[], MutableByte)
See Also