Authenticate incoming messages

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

Syntax

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

Parameters

authentiationSecret
array< Byte >[]()[]
Authentication user secret (password)
engineId
array< Byte >[]()[]
SNMP agent authoritative engine id
authenticationParameters
array< Byte >[]()[]
Authentication parameters from the incoming packet
wholeMessage
MutableByte
Entire message with authentication parameters field zeroed out

Return Value

True if packet is authenticated, otherwise false.

See Also