InternetOpenType Property
See Also Example Applies To
A value from the WININET_InternetOpen_Types enumerated list indicating the HTTP version to be used in the call to the remote server.
Syntax
object.InternetOpenType
The object placeholder represents an XMLHTTPCall object.
Settings
See the WININET_InternetOpen_Types enumerated list topic for more information.
Remarks
This property specifies whether we connect directly to a host or whether we
use a proxy server for the connection. If we pass the value INTERNET_OPEN_TYPE_DIRECT,
we’ll connect directly to the host. If we pass the value INTERNET_OPEN_TYPE_PROXY,
we’ll connect via a proxy server. If we pass INTERNET_OPEN_TYPE_PRECONFIG,
we’ll connect based on the registry values ProxyEnable, ProxyServer, and ProxyOverride located under
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings.
The default setting of this property is INTERNET_OPEN_TYPE_PRECONFIG.
|