The ProxyType property specifies the type of proxy server
that the client is connecting to. The supported proxy server types
are as follows:
||A direct connection will be established with the server.
When this value is specified the proxy-related properties
||A standard connection is established through the specified
proxy server, and all resource requests will be specified using
a complete URL. This proxy type should be used with standard
||A secure connection is established through the specified
proxy server. This proxy type should only be used with secure
connections and the Secure property should also be set to a
value of true.
||The configuration options for the current system should be
used. These settings are defined through the Internet Options
in the control panel and are the same proxy server settings
used by Internet Explorer.
If the httpProxyWindows proxy type is specified, then the
proxy configuration for the local system is used. This is the same
configuration used by Internet Explorer, and can be changed by
selecting the Internet Options icon in the control panel, then
clicking the LAN Settings button the Connections tab. If no proxy
server has been defined, then the proxy-related properties will be
ignored and the Connect method will establish a connection
directly to the server.