KSC Open API  13.1
Kaspersky Security Center API description
boolean KsnInternal::NeedToSendStatistics ( )

Check possibility to send statistics.

Returns:
(boolean) Returns true when possible to send statistics. Otherwise - false.