ProxyServer property

This property contains the name or IP address of HTTP proxy server. When the FetchData method is called, the application will connect to specified HTTP proxy server and use it to retrieve data from the target URL. You can use this property to specify HTTP proxy server different from default one.

Note

Default value
The default value for ProxyServer property is defined by shotip.ini file located in the Windows root directory. This file is read once when the component starts, so if you change this file for server applications, like ASP, you should restart the affected application. The httpproxyserver value in the [Main] section defines the defaul value.

[Main]
httpproxyserver=myproxy.server.com
httpproxyport=8080
If this information can not be retrieved then the proxyserver will not be used. If is the ProxyServer variable is set to empty string then the proxyserver will not be used.

Example

mail.ProxyServer = "myproxy.server.com"

See also

ProxyPort property