KSC Open API
Kaspersky Security Center API description
ProductBackendIntegration::SetIntegrationToken ( wstring  wstrProdName,
wstring  wstrProdVersion,
binary  pRefreshToken,
int  nTokenTtl 
)

Set up integration with product backend.

Parameters:
wstrProdName[in] (wstring) Product name
wstrProdVersion[in] (wstring) Product version
pRefreshToken[in] (binary) Integration refresh token
nTokenTtl[in] (int) Time to live of refresh token in seconds, since moment of this call. KSC server refreshes pRefreshToken immediately after receiving this command and gets new TTL from product backend. This TTL value is used only in case when refreshing pRefreshToken fails as a maximum retries time limit.