Get/Set SNMP protocol version.

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

Syntax

C#
public virtual SnmpVersion Version { get; set; }
Visual Basic
Public Overridable Property Version As SnmpVersion
	Get
	Set
Visual C++
public:
virtual property SnmpVersion Version {
	SnmpVersion get ();
	void set (SnmpVersion value);
}

Implements

IAgentParameters..::..Version

Exceptions

ExceptionCondition
SnmpSharpNet..::..SnmpInvalidVersionExceptionThrown when attempting to set protocol version other then version 1 or 2c

See Also