ProxyPort property

This property contains the TCP/IP port number to connect to 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 port.

Note

Default value
The default value for ProxyPort 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 httpproxyport 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 default proxy server port number is 80.

Example

http.ProxyPort = 8000

See also

ProxyServer property