FH_GetProxySettings

FH_GetProxySettings

Gets parameters for connection of the local computer to the central server.
Specifies whether Proxy server must be used and if yes, with which parameters.
Is executed synchronously and can block the client’s application for the specified timeout.

FH_API BOOL WINAPI FH_GetProxySettings(
    JSON_VAR *pVarProxySettings,
    int timeoutMs);

Here:

  • pVarProxySettings – a pointer to the variable where the current parameters in JSON object format are put
  • timeoutMs – timeout. By default equals to –1.

Returns TRUE in case all the parameters are successfully read.