KSC Open API
Kaspersky Security Center API description
GatewayConnection::PrepareGatewayConnectionToSecondaryServer ( wstring  srvInstanceId,
[out] wstring  wstrAuthKey 
)

Create gateway connection to any child server. See Creating gateway connections to know how to create gateway connections. If any connection errors occur this method throws corresponding exception.

Parameters:
[in]srvInstanceId- instance ID of child server.
[out]wstrAuthKey- one-time authentication key. Should be used in 'login' or Session.StartSession method call in KSCGW authentication scheme. Valid only for 60 seconds.
See also: