Proxies are used to maintain anonymity when browsing on-line. A proxy achieves this by changing the I.P. Address of the user so that the website thinks the user is coming from a different location. Though proxies are entirely legal, they can be used for questionable activities. This article is to be used for security purposes only and not for malicious intent.
NOTE: this tutorial involves the editing and modification of the Window's registry through source code. Always practice extreme caution when accessing the system registry. Editing or delete system keys or data may cause your computer to malfunction or stop working entirely.
Start at step one below, to begin the process of change Internet Explorer's proxy settings.
Step One - Necessary Declarations
Internet Explorer's proxy settings can be easily accessed through the system registry. However, to be able to access the registry you must include a reference to 'Microsoft.Win32'. Add this code to your project's using section,
using Microsoft.Win32;
Step Two - Create a Proxy Changing Function
To easily change, enable, and disable the proxy settings, we will create a void called setProxy using the source code found here,
public void setProxy(string IPADDRESS, int enable)
{
RegistryKey registry = Registry.CurrentUser.OpenSubKey("Software\\Microsoft\\Windows\\CurrentVersion\\Internet Settings", true);
registry.SetValue("ProxyEnable", enable);
registry.SetValue("ProxyServer", IPADDRESS);
}
The function just created will take the first parameter and set the registry key relating to the proxy server to this value. It will also enable or disable the usage of proxies in Internet Explorer entirely depending of the value supplied in the second parameter.
Conclusion
To change the proxy, simply execute the setProxy() function and give the proxy address and the first parameter and either 1 or 0 as the second if you would like to enable or disable the proxy. Here is an example,
// Disable the Proxy and Set it to the Local Host
setProxy("127.0.0.1", 0);
The above code will reset the proxy address to the local host address(127.0.0.1) and disable Internet Explorer from using the proxy settings.
Published by James Cloud
I like to program and do basically anything that has to do with technology and computers. View profile
Munchausen Syndrome by Proxy: The Cruelest Breach of TrustMunchausen Syndrome by Proxy is a rare psychiatric disorder in which parents fabricate illnesses in their children, sometimes even going so far as to cause them physical harm an...
How to Browse the Web Using a Proxy in FirefoxThis article provides step-by-step instructions how to browse the web using a proxy in Mozilla's Firefox internet browser.
Misdiagnosis of Munchausen Syndrome by Proxy: Disagreement or Disorder?Munchausen Syndrome by Proxy is child abuse. How can healthcare professionals ensure the safety of their patients without misdiagnosing this devastating, ambiguous disorder?- Get Your YouTube Proxy to Get Pass a YouTube Blocking ProgramThis article explains why people use a YouTube proxy.
- Tracking User Sessions Originating from Proxy ServersWith the number of dwindling IP ranges, more and more big companies are using proxy servers and dynamically assigned IP, making it difficult to track users.
- CSharp .Net Tutorial: Read / Write Registry
- How to Manually Change Your IP Address Using Free Proxys
- AntiVirus Soft Removal Guide
- Options in Cleaning a System Registry
- How to Read/Write/Delete Microsoft Windows Registry Keys/Values Using VB .Net?
- Internet Explorer Tutorial - Modify Basic Settings
- What is a Proxy Server?



