Kaspersky Security Center Automation  10.0
HRESULT IKlAkLicense::LoadKey ( [in] BSTR  strFilename,
[out, retval] VARIANT *  pKey 
)

Load key from a file.

Loads key from a file and returns it as a variant.

Parameters:
strFilename Name of file
Return values:
pKey key data as variant


See JScript sample below.

	var oLicense = new ActiveXObject("klakaut.KlAkLicense");
	oLicense.AdmServer = oAdmServer;
	var oKey = oLicense.LoadKey("data.key");