KSC Open API
Kaspersky Security Center API description
wstring GatewayConnection::PrepareHybridGatewayConnectionToSecondaryServerPort ( wstring  wstrTargetSlaveServerInstanceId,
wstring  wstrTargetHostId,
binary  pTargetCertPub,
int  nTargetPort 
)

Create hybrid gateway connection.

Parameters:
[in]wstrTargetSlaveServerInstanceId- Instance id of the target secondary server.
[in]wstrTargetHostId- Target host id.
[in]pTargetCertPub- Target server certificate.
[in]nTargetPort- target port to connect to. (e.g. OpenAPI port of the secondary server)
Returns:
Hybrid session identifier.
See also:
Creating gateway connections