I want C# code to use Socks 5 proxies in Internet Explorer. I have code for http proxies but that code is not working for Socks proxies.
Anyone has such code? Please provide some pointers.
I’m basically doing IE automation in C#, and I need code to use socks proxies using IE.
What keeps you from setting
HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings\
*.pac-file (can point to a file on localhost or distantserver)?
Has the advantage that you can distribute one configuration-file which is easier to update than a binary when changes come up.
*.pacfiles are quite simple:Besides: There is an “official” way: Setting IE-Settings through the Group Policies-API, everything documented on the MSDN. Lets you configure a proxy for every protocol but is not as simple as my first suggestion.