>How can I determine if a proxy server is being used? And how do I get the IP address of the proxy server. In other words, I need to scrape the values for the Control Panel\Internet Properties\Local Area Network screen for Internet Explorer.
>TIA
>SammieI asked around and Alex Feinman [MVP-Windows Media Center] gave me this info:
Proxy settings are stored in
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Connections\DefaultConnectionSettings
It is a chunk of binary data.
3rd dword has bit 1 set (dw & 0x00000002) if proxy is enabled
4th dword is a length of a character string that follows it and contains list of proxy addresses per protocol:
ftp:10.10.10.1:80;http:10.10.10.2:80;
Following this is a DWORD counter and a string of that length containing a semicolon-delimited list of domains to be accessed directly
HTH