Helper returns error messages for SNMP v1 and v2 error codes
Namespace: SnmpSharpNetAssembly: SnmpSharpNet (in SnmpSharpNet.dll) Version: 0.9.1.0 (0.9.1)
Syntax
| C# |
|---|
public sealed class SnmpError |
| Visual Basic |
|---|
Public NotInheritable Class SnmpError |
| Visual C++ |
|---|
public ref class SnmpError sealed |
Remarks
Helper class provides translation of SNMP version 1 and 2 error status codes to short, descriptive
error messages.
To use, call the static member ErrorMessage(Int32).
Example:
CopyC#
Console.WriteLine("Agent error: {0}",SnmpError.ErrorMessage(12));