Dart.Snmp Namespace > SnmpBase Class : CreateResponse Method |
Public Function CreateResponse( _ ByVal request As RequestMessage _ ) As ResponseMessage
Dim instance As SnmpBase Dim request As RequestMessage Dim value As ResponseMessage value = instance.CreateResponse(request)
public ResponseMessage CreateResponse( RequestMessage request )
public: ResponseMessage* CreateResponse( RequestMessage* request )
public: ResponseMessage^ CreateResponse( RequestMessage^ request )
An SNMPv3 ReportMessage is returned when:
1. The engine ID of the request does not match Security.AuthoritativeEngine.Id (a usmStatsUnknownEngineIDs variable is added to the variable bindings).
2. Authentication is requested and the time window has not been synchronized (a usmStatsNotInTimeWindows variable is added to the variable bindings).
3. The received username is not present in Security.AuthoritativeEngine.Users or Security.TrapUsers (a usmStatsUnknownUserNames variable is added to the variable bindings).
4. The received username is present, but the security level in the packet does not match the security level in the AuthoritativeEngine (a usmStatsUnsupportedSecLevels variable is added to the variable bindings).
5. Authentication failed because the computed digest failed to match (a usmStatsWrongDigests variable is added to the variable bindings).
No response is desired if the received request could not be decrypted with the specified password. A null is returned in this case.