KSC Open API
Kaspersky Security Center API description
boolean ConEvents::Retrieve ( [out] array  pEvents,
[out] int  nPeriod 
)

Retrieve.

Use this method to retrieve events.

Parameters:
pEvents[out] (array) Events array. Each element of array is params with attributes:
AttributeTypeDescription
KLSRV_CON_EVENT_TYPEparamStringEvent type
KLSRV_CON_EVENT_PARAMSparamParamsEvent params
KLSRV_CON_EVENT_BIRTH_TIMEparamDateTimeUTC time of creation
KLSRV_CON_EVENT_LIFE_TIMEparamIntEvent life time in seconds
nPeriod[out] (int) new value of polling period, milliseconds
Returns:
(boolean) true if more events exist, otherwise - false
Exceptions:
STDE_NOTFOUND- subscription was not found
STDE_UNAVAIL- period of polling is too small. Please use recommended period of polling.
See also:
Event polling usage