KSC Open API
Kaspersky Security Center API description
NagHstCtl::SendProductAction ( wstring  szwProduct,
wstring  szwVersion,
int  nProductAction 
)

Initiate changing state of products at host

The method sends to the specified product 'start' or 'stop' command.

Parameters:
szwProductProduct name *
szwVersionProduct version *
nProductActionone of following values:
  • 0 (APP_ACTION_START) initiate starting of the specified product
  • 1 (APP_ACTION_STOP) initiate stopping of the specified product
See also: