KSC Open API
Kaspersky Security Center API description
wstring CertUtils::GeneratePassword ( unsignedInt  length,
boolean  isUserFriendly 
)

Generate a new password.

Parameters:
[in]length(unsignedInt) Password length
[in]isUserFriendly(boolean) Generate in a user-friendly form
Returns:
(wstring) password