Authenticate incoming messages

Namespace:  SnmpSharpNet
Assembly:  SnmpSharpNet (in SnmpSharpNet.dll) Version: 0.5.2.0 (0.5.2.0)

Syntax

C#
bool authenticateIncomingMsg(
	byte[] authentiationSecret,
	byte[] engineId,
	byte[] authenticationParameters,
	MutableByte wholeMessage
)
Visual Basic (Declaration)
Function authenticateIncomingMsg ( _
	authentiationSecret As Byte(), _
	engineId As Byte(), _
	authenticationParameters As Byte(), _
	wholeMessage As MutableByte _
) As Boolean
Visual C++
bool authenticateIncomingMsg(
	array<unsigned char>^ authentiationSecret, 
	array<unsigned char>^ engineId, 
	array<unsigned char>^ authenticationParameters, 
	MutableByte^ wholeMessage
)

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