KSC Open API  13.1
Kaspersky Security Center API description
wstring Policy::GetPolicyContents ( int  nPolicy,
int  nRevisionId,
int  nLifeTime 
)

Acquire policy contents.

Opens settings storage SsContents of the specified policy. The settings storage contains both predefined and product-specific sections.

Parameters:
nPolicy(int) policy id
nRevisionId(int) policy revision id, 0 means 'current policy'
nLifeTime(int) timeout in milliseconds to keep this SsContents object alive, zero means 'default value'
Returns:
(wstring) identifier of opened SsContents, must be closed with SsContents::SS_Release