Constructor. Initialize SNMP version as supplied.

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

Syntax

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

Parameters

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

See Also