Authenticate incoming messages
Namespace: SnmpSharpNetAssembly: SnmpSharpNet (in SnmpSharpNet.dll) Version: 0.9.1.0 (0.9.1)
Syntax
| C# |
|---|
bool authenticateIncomingMsg(
byte[] authentiationSecret,
byte[] engineId,
byte[] authenticationParameters,
MutableByte wholeMessage
) |
| Visual Basic |
|---|
Function authenticateIncomingMsg ( _
authentiationSecret As Byte(), _
engineId As Byte(), _
authenticationParameters As Byte(), _
wholeMessage As MutableByte _
) As Boolean |
Parameters
- authentiationSecret
- Type: array<System..::..Byte>[]()[][]
Authentication user secret (password)
- engineId
- Type: array<System..::..Byte>[]()[][]
SNMP agent authoritative engine id
- authenticationParameters
- Type: array<System..::..Byte>[]()[][]
Authentication parameters from the incoming packet
- wholeMessage
- Type: SnmpSharpNet..::..MutableByte
Entire message with authentication parameters field zeroed out
Return Value
True if packet is authenticated, otherwise false.
See Also