InitializePacket SNMP packet with values from this class. Works only on SNMP version 3 packets.
Namespace:
SnmpSharpNetAssembly: SnmpSharpNet (in SnmpSharpNet.dll) Version: 0.5.2.0 (0.5.2.0)
Syntax
| C# |
|---|
public void InitializePacket( SnmpPacket packet ) |
| Visual Basic (Declaration) |
|---|
Public Sub InitializePacket ( _ packet As SnmpPacket _ ) |
| Visual C++ |
|---|
public: virtual void InitializePacket( SnmpPacket^ packet ) sealed |
Parameters
- packet
- Type: SnmpSharpNet..::.SnmpPacket
Instance of SnmpV3Packet
Implements
IAgentParameters..::.InitializePacket(SnmpPacket)
Exceptions
| Exception | Condition |
|---|---|
| SnmpInvalidVersionException | Thrown when parameter packet is not SnmpV3Packet |