KSC Open API  13.0
Kaspersky Security Center API description
wstring NagRdu::DownloadEventlogAsync ( wstring  szwEventLog)

Asynchronously downloads a specific event log.

Parameters:
szwEventLogevent log name. Taken from the container of the current host state.
Returns:
ID of an asynchronous request. Use this ID to get the result with a URL path for the subsequent event log download.
Remarks:
To check the state of the event log download procedure, call AsyncActionStateChecker::CheckActionState periodically until the procedure is completed. If the procedure succeeds, AsyncActionStateChecker::CheckActionState returns a URL path in pStateData. Otherwise, the AsyncActionStateChecker::CheckActionState call returns an error in pStateData.
Exceptions:
Thefunction throws an exception in case of an error.