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

Asynchronously runs the GSI utility.

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