Kaspersky Security Center Automation  10.0
HRESULT IKlAkLicense::InstallKey ( [in] IKlAkParams pData )

Put key into license storage.

Installs license key into server-side license storage. This functionality is supported by Administration Server 7.0 or higher.

Parameters:
pData license key data, following attributes must be specified


See JScript sample below.

	var oLicense = new ActiveXObject("klakaut.KlAkLicense");
	oLicense.AdmServer = oAdmServer;
	var oKey = oLicense.LoadKey("data.key");
	var oKeyData = new ActiveXObject("klakaut.KlAkParams");
	oKeyData.Add("KLLIC_LICFILE", oKey);
	var oParams = new ActiveXObject("klakaut.KlAkParams");
	oParams.Add("KLLICSRV_KEYDATA", oKeyData);
	oLicense.InstallKey(oParams);