KSC Open API
Kaspersky Security Center API description
LicensePolicy::SetUsedLicenseCountTest ( int  eFunctionality,
unsigned  nCount 
)

Set number of used licenses for functionality in restricted mode.

Parameters:
eFunctionality(int) functionality
nCount(unsignedInt) number of used licenses
Exceptions:
Throwsexception in case of error.