InternetProxy.Default
Syntax:
Parameters:
<DefaultProxy> (optional)
Specifies if an object will be initialized by default proxy settings.
If the parameter value is True, initialization of the object with the values from the file inetcfg.xml is attempted. If no such file exists, the values are taken from the system settings.
In Windows OS, the system settings input through Internet Explorer are used.
In Linux OS, the settings are taken from the following environment variables:
- http_proxy
- https_proxy
- ftp_proxy
- ftps_proxy
If environment variables contains incorrect strings, their values are ignored (the exception is not raised).
In the compatibility mode Version8_3_5 and below, no environment variable values are used.
Default value: True.
Description:
Example:
ProxyServer = New InternetProxy; ProxyServer.User = UserName; ProxyServer.Password = UserPassword ; Try HTTP = New HTTPConnection(SourceServer,,,, ProxyServer); Except EndTry; |