Get/Set SNMP protocol version. Throws SnmpInvalidVersionException if value other then SnmpConstants.SNMPV1 or SnmpConstants.SNMPV2 is set.

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

Syntax

C#
public virtual int Version { get; set; }
Visual Basic (Declaration)
Public Overridable Property Version As Integer
Visual C++
public:
virtual property int Version {
	int get ();
	void set (int value);
}

Implements

IAgentParameters..::.Version

Remarks

[Missing <remarks> documentation for "P:SnmpSharpNet.AgentParameters.Version"]

See Also