RemoveEngine Method

Removes the engine specified by EngineId from the internal authentication cache.

Syntax

ANSI (Cross Platform)
int RemoveEngine(const char* lpEngineId, int lenEngineId);

Unicode (Windows)
INT RemoveEngine(LPCSTR lpEngineId, INT lenEngineId);
- (void)removeEngine:(NSData*)engineId;
#define MID_SNMPTCPTRAPMGR_REMOVEENGINE 8

IPWORKSSNMP_EXTERNAL int IPWORKSSNMP_CALL IPWorksSNMP_SNMPTCPTrapMgr_Do(void *lpObj, int methid, int cparam, void *param[], int cbparam[], int64 *lpllVal);

Remarks

The internal authentication cache can be used as an alternative to the GetUserPassword event, automatically checking the cache against the security parameters provided in the request signature.

The ShowCache method is used to show the contents of the internal authentication cache.

The ClearCache method can be used to completely clear the cache.

Error Handling (C++)

This method returns a result code; 0 indicates success, while a non-zero error code indicates that this method encountered an error during its execution. If an error occurs, the GetLastError() method can be called to retrieve the associated error message. (Note: This method's result code can also be obtained by calling the GetLastErrorCode() method after it returns.)

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks SNMP 2020 C++ Edition - Version 20.0 [Build 8202]