Reputation: 157
I need to disable the proxy settings in IE8 preferably without using the registry and using an API. I have been looking into 'InternetQueryOption' (to query device) and 'InternetSetOption' I can make the changes using the registry and then refresh the browser using:
InternetSetOption(IntPtr.Zero, INTERNET_OPTION_SETTINGS_CHANGED, IntPtr.Zero, 0); //INTERNET_OPTION_SETTINGS_CHANGED
InternetSetOption(IntPtr.Zero, INTERNET_OPTION_REFRESH, IntPtr.Zero, 0); //INTERNET_OPTION_REFRESH
However I am unable to use the same system to check or set the setting in IE which says if it uses the Proxy server for LAN connections, and any assistance or examples would be great
Upvotes: 0
Views: 770