Constructor. Initialize SNMP version as supplied.

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

Syntax

C#
public SnmpPacket(
	SnmpVersion protocolVersion
)
Visual Basic (Declaration)
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