I'm trying to find a good way to determine if my pc is working behind a proxy or not.
I'm browsing through the WinAPI but cannot find anything useful. I´ve read that it is enough to open a tcp connection on port 80 to an internet address but is this really the best solution?
I don't wanna check the proxy settings of each browser but the global system proxy settings ... if there is something like that.
I have to use Windows (XP and Windows 7 and newer should be supported) and C++