KSC Open API
Kaspersky Security Center API description
params Tasks::GetTaskStatistics2 ( wstring  strTask)

Acquire statistics of the specified task.

Returns statistics of the specified task compiled from related events.

Parameters:
strTask(wstring) task id in digital representation, like "1" or "45" and etc.
Returns:
(params) object containing task statistics, see List of task statistics attributes.
See also:
Sample. Creating and running a task, Sample. Enumerating tasks, querying task statistics and running a task