KSC Open API
13.0
Kaspersky Security Center API description
|
This type used for method parameters, return values, output parameters and error decsription.
Params type corresponds to KlAkParams class in KLOAPIWrapperLib. Composing and parsing KlAkParams object is shown in sample below:
# composing options_format = KlAkParams() options_format.AddInt('KLRPT_TARGET_TYPE', 0) options_format.AddBool('KLRPT_PDF_LANDSCAPE', True) options_format.AddDateTime('KLRPT_TIME_CREATED', datetime.datetime.now())
# parsing for name in options_format.GetNames(): print(name, options_format[name])
See also Sample. Logging KlAkParams.