Search variable bindings list in the passed packet for usm error OIDs and return error string value.

Namespace: SnmpSharpNet
Assembly: SnmpSharpNet (in SnmpSharpNet.dll) Version: 0.9.1.0 (0.9.1)

Syntax

C#
public static string TranslateError(
	SnmpV3Packet packet
)
Visual Basic
Public Shared Function TranslateError ( _
	packet As SnmpV3Packet _
) As String
Visual C++
public:
static String^ TranslateError(
	SnmpV3Packet^ packet
)

Parameters

packet
Type: SnmpSharpNet..::..SnmpV3Packet
Packet to search for error OIDs

Return Value

Error string if found in the packet, otherwise an empty string.

See Also