IBackgroundCopyJob::GetProxySettings
Use the GetProxySettings method to retrieve the proxy information that the job uses to transfer the files.
HRESULT GetProxySettings(
BG_JOB_PROXY_USAGE* pProxyUsage,
LPWSTR* ppProxyList,
LPWSTR* ppProxyBypassList
);
Parameters
pProxyUsage
[out] Specifies the proxy settings the job uses to transfer the files. For a list of proxy options, see the BG_JOB_PROXY_USAGE enumeration type.
ppProxyList
[out] Space-delimited string that contains one or more proxies to use to transfer files. For details on the format of the string, see the Listing Proxy Servers section of Enabling Internet Functionality. Use the CoTaskMemFree function to free ppProxyList.
ppProxyBypassList
[out] Contains an optional list of host names or IP addresses, or both, that were not routed through the proxy. For details on the format of the string, see the Listing the Proxy Bypass section of Enabling Internet Functionality. Use the CoTaskMemFree function to free ppProxyBypassList.