Constructor. Initialize SNMP version as supplied.
Namespace:
SnmpSharpNetAssembly: SnmpSharpNet (in SnmpSharpNet.dll) Version: 0.5.2.0 (0.5.2.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