KSC Open API  13.0
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 elemen describes the command and its state (see Device commands)