Check if SNMP version value is correct

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

Syntax

C#
public static bool IsValidVersion(
	int version
)
Visual Basic
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