KSC Open API  13.1
Kaspersky Security Center API description
wstring NagRdu::DownloadCommonDataAsync ( )

Asynchronously creates an archive with general data, such as local settings of products, a policy, tasks, and downloads the archive.

Returns:
ID of an asynchronous request. Use this ID to get the result with a URL path for the subsequent archive download.
Remarks:
To check the state of the archive creation 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.