Update class values with SNMP version 3 discovery values from the supplied SnmpV3Packet
class. Values updated are EngineId, EngineTime and EngineBoots.
Namespace:
SnmpSharpNetAssembly: SnmpSharpNet (in SnmpSharpNet.dll) Version: 0.5.0.0 (0.5.0.0)
Syntax
| C# | Visual Basic | Visual C++ |
public void UpdateDiscoveryValues( SnmpPacket packet )
Public Sub UpdateDiscoveryValues ( _ packet As SnmpPacket _ )
public: void UpdateDiscoveryValues( SnmpPacket^ packet )
Parameters
- packet
- SnmpPacket
SnmpV3Packet class cast as SnmpPacket
Exceptions
| Exception | Condition |
|---|---|
| SnmpInvalidVersionException | Thrown when SNMP packet class other then version 3 is passed as parameter |