KSC Open API
Kaspersky Security Center API description
array UserDevicesApi::GetCommands ( int  lDeviceId)

Acquires states of all commands posted to the specified device.

Parameters:
lDeviceId(int) device id
Returns:
(array) array, each element describes the command and its state (see Device commands)