KSC Open API
Kaspersky Security Center API description
UaControl::RegisterUpdateAgent ( params  pUaInfo)

Register host as Update agent or Connection gateway.

To register host as an Update agent one should:

Parameters:
[in]pUaInfoUA/CG configuration. See Distribution point settings for details.
Exceptions:
Throwsexception if host is already an Update agent or any other error occurs
See also:
Sample. Registering update agents for devices in a group