KSC Open API  13.0
Kaspersky Security Center API description
GatewayConnection::PrepareGatewayConnection ( array  pLocations,
[out] wstring  wstrAuthKey 
)

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

Parameters:
[in]pLocations- (array) of (params) gateway nodes locations.
[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: