KSC Open API
Kaspersky Security Center API description
HWInvStorage::ExportHWInvStorageGetData ( wstring  wstrAsyncId,
[out] binary  pChunk,
int  nGetDataSize,
[out] int  nGotDataSize,
[out] int  nDataSizeRest 
)

Get exported data. Call this method until nDataSizeRest is not zero.

Parameters:
wstrAsyncId[in] (wstring) Async id returned from HWInvStorage.ExportHWInvStorage2
pChunk[out] (binary) Data chunk
nGetDataSize[in] (int) Max data size to retrieve
nGotDataSize[out] (int) Actual size of retrieved data
nDataSizeRest[out] (int) Size of not retrieved data