Constructor. Initialize SNMP version as supplied.

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

Syntax

C#
public SnmpPacket(
	SnmpVersion protocolVersion
)
Visual Basic
Public Sub New ( _
	protocolVersion As SnmpVersion _
)
Visual C++
public:
SnmpPacket(
	SnmpVersion protocolVersion
)

Parameters

protocolVersion
Type: SnmpSharpNet..::..SnmpVersion
Protocol version. Acceptable values are SnmpConstants.SNMPV1, SnmpConstants.SNMPV2 and SnmpConstants.SNMPV3

See Also