KSC Open API  13.1
Kaspersky Security Center API description
PackagesApi::GetLicenseKey ( int  nPackageId,
[out] wstring  wstrKeyFileName,
[out] binary  pMemoryChunk 
)

Get license key.

Parameters:
nPackageId(int) Package ID.
Return values:
wstrKeyFileName(wstring) Key file name.
pMemoryChunk(binary) Key data.
Exceptions:
Throwsexception in case of error.