DiscoveryResponse Event
Fired when an SNMPv3 discovery response is received.
Syntax
typedef struct { String EngineId; DynamicArray<Byte> EngineIdB; int EngineBoots; int EngineTime; String User; int SecurityLevel; String SourceAddress; int SourcePort; } TipnSNMPTCPMgrDiscoveryResponseEventParams; typedef void __fastcall (__closure *TipnSNMPTCPMgrDiscoveryResponseEvent)(System::TObject* Sender, TipnSNMPTCPMgrDiscoveryResponseEventParams *e); __property TipnSNMPTCPMgrDiscoveryResponseEvent OnDiscoveryResponse = { read=FOnDiscoveryResponse, write=FOnDiscoveryResponse };
Remarks
EngineId, EngineBoots, EngineTime, and User are the values received from SourceAddress and SourcePort.
The SecurityLevel parameter shows whether the request has been authenticated. If SecurityLevel is 0, the request has NOT been authenticated (i.e. the packet signature has not been verified). For an authenticated request, SecurityLevel is at least 1.