KSC Open API
Kaspersky Security Center API description
params LicenseInfoSync::GetKeyDataForHost ( wstring  szwSerial,
wstring  szwHostName,
wstring  szwProduct,
wstring  szwVersion 
)

Get host-specific key data.

Parameters:
szwSerial(wstring) License key serial number. See the "KLLIC_SERIAL" property of List of license key properties. Required.
szwHostName(wstring) Host ID. See the "KLLICSRV_HOSTNAME" property of List of host-specific license key properties. Required.
szwProduct(wstring) Product ID. See the "KLLICSRV_PRODUCT" property of List of host-specific license key properties. Required.
szwVersion(wstring) Version. See the "KLLICSRV_VERSION" property of List of host-specific license key properties. Required.
Returns:
(params) container with the requested key property values. See List of license key properties for the property names.
Exceptions:
Throwsexception in case of error.