KSC Open API
Kaspersky Security Center API description
NagRemoteScreen::GetDataForTunnel ( params  pSharingHandle,
[out] int  nHostPortNumber,
[out] wstring  wstrHostNameOrIpAddr 
)

Returns data to create an use tunnel

Parameters:
pSharingHandle(params) value of the sharing handle returned by OpenSession
nHostPortNumber(int) out the nHostPortNumber of the KLTRP::ServerTransportProxy::ReservePortForTunnel2 method
wstrHostNameOrIpAddr(wstring) out the wstrHostNameOrIpAddr of the KLTRP::ServerTransportProxy::ReservePortForTunnel2 method