KSC Open API
Kaspersky Security Center API description
KsnInternal::SendKsnStatistics ( wstring  wstrStatName,
params  pStatBody 
)

Send KSN statistics.

Parameters:
wstrStatName[in] (wstring) Statistics name
pStatBody[in] (params) Statistics body

Statistics name: "KSN_STAT_PAGE_VIEW"

Statistics body attributes:

"PAGE_VIEW_STAT_DATA" - an array of params with attributes:

AttributeTypeDescription
"PAGE_VIEW_STAT_PAGE_ID"paramStringPage id
"PAGE_VIEW_STAT_TIME"paramDateTimeOperation timestamp

Statistics name: "KSN_STAT_CLICK_EVENT"

Statistics body attributes:

"CLICK_EVENT_STAT_DATA" - an array of params with attributes:

AttributeTypeDescription
"CLICK_EVENT_STAT_CONTROL_ID"paramStringControl id
"CLICK_EVENT_STAT_TIME"paramDateTimeOperation timestamp