Unable to set WinInet proxy from WinForms application
问题 I'm running windows 7 and IE9. I'm writing a winforms application (.net 4.0 & c#) that runs a proxy server (using TcpListener) on another thread. Before I instantiate the main form i set the proxy using InternetSetOption and start the proxy server. My proxy setting code is very similar to the one here: Set Proxy UserName and Password using Wininet in C# then i browse to a site in IE, IE doesn't connect to my proxy server. also, IE tools --> internet options --> connection --> lan settings -->