Check if SNMP version value is correct

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

Syntax

C#
public static bool IsValidVersion(
	int version
)
Visual Basic (Declaration)
Public Shared Function IsValidVersion ( _
	version As Integer _
) As Boolean
Visual C++
public:
static bool IsValidVersion(
	int version
)

Parameters

version
Type: System..::.Int32
SNMP version value

Return Value

true if valid SNMP version, otherwise false

See Also