Link to home
Start Free TrialLog in
Avatar of jonastovsen
jonastovsen

asked on

Programmatically change proxy settings

Hi experts,

How can I programmatically switch the Lan settings between Automatically detect settings, and use proxy settings (Proxy 8080)?
Avatar of Bob Learned
Bob Learned
Flag of United States of America image

The best question I can ask right now is, "Why?"

Bob
Avatar of jonastovsen
jonastovsen

ASKER

Because some of the users are connected through a VPN connection, and som are not. I want to give the user the opportunity to easily swith between Proxy and not.
Now I understand ;)

Here is a C# example:

SwitchNetConfig - Laptop users, quickly switch network and proxy configuration in different places
http://www.codeproject.com/csharp/oazswitchnetconfig.asp

Bob
Thank you! The program on the link looks fine, but unfortunately I don't write C#. It would take me significant time to translate it.
ASKER CERTIFIED SOLUTION
Avatar of Bob Learned
Bob Learned
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Fantastic!

Thank you for taking the time to translate the code!