check the http proxy in windows code example
Example 1: get current used proxy windows 7
netsh winhttp show proxy
Example 2: get current used proxy windows 7
netsh.exe winhttp show proxy
netsh winhttp show proxy
netsh.exe winhttp show proxy