KSC Open API  13.0
Kaspersky Security Center API description
params PackagesApi::GetRebootOptionsEx ( int  nPackageId)

Get reboot options.

Parameters:
nPackageId(int) Package ID.
Returns:
(paramParams) Reboot options.
  • "KLPKG_ROPTS_ASK_REBOOT_MSGTEXT" - Reboot request text (paramString)
  • "KLPKG_ROPTS_ASK_FOR_REBOOT_PERIOD_MIN" - Period (in minutes) of display reboot message (paramLong)
  • "KLPKG_ROPTS_FORCE_REBOOT_TIME_MIN" - Force reboot time (in minutes) (paramLong)
  • "KLPKG_ROPTS_FORCE_APPS_CLOSED" - Force applications close (paramBool)
Exceptions:
Throwsexception in case of error.