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.9.1.0 (0.9.1)
Syntax
| C# |
|---|
public void UpdateDiscoveryValues( SnmpPacket packet ) |
| Visual Basic |
|---|
Public Sub UpdateDiscoveryValues ( _ packet As SnmpPacket _ ) |
| Visual C++ |
|---|
public: void UpdateDiscoveryValues( SnmpPacket^ packet ) |
Parameters
- packet
- Type: SnmpSharpNet..::..SnmpPacket
SnmpV3Packet class cast as SnmpPacket
Exceptions
| Exception | Condition |
|---|---|
| SnmpSharpNet..::..SnmpInvalidVersionException | Thrown when SNMP packet class other then version 3 is passed as parameter |