FH_SetProxySettingsAsync

FH_SetProxySettingsAsync

Sets parameters for connection of the local computer to the central server.
Specifies whether Proxy server must be used and if yes, with which parameters.

FH_API int  WINAPI FH_SetProxySettingsAsync(
    JSON_VAR varProxySettings,
    int timeoutMs);

Here:

  • varProxySettings – new parameters in JSON object format
  • timeoutMs – timeout. By default equals to –1.

The returned value is the ID of the invoked command or 0 in case the command cannot be executed.