Click here to Skip to main content
12,821,674 members (26,084 online)
Click here to Skip to main content
Articles » Languages » C# » Applications » Downloads

Stats

447.9K views
17.3K downloads
197 bookmarked
Posted 6 May 2004

SwitchNetConfig - Laptop users, quickly switch network and proxy configuration in different places

, 6 May 2004 CPOL
A handy utility for laptop users which stores network and proxy configuration as profiles and apply a profile very quickly whenever laptop goes to a different network
using System;

namespace SwitchNetConfig
{
	/// <summary>
	/// Proxy setting for Internet Explorer
	/// </summary>
	public class IEProfile
	{
		#region Variables

		public bool UseProxy = false;
		public string ProxyName = string.Empty;
		public bool BypassLocal = false;
		public string BypassAddresses = string.Empty;

		#endregion

		#region Constructors

		public IEProfile() {}

		public IEProfile( bool useProxy, string proxyName, bool bypassLocal, string bypassAddresses )
		{
			UseProxy = useProxy;
			ProxyName = proxyName;
			BypassLocal = bypassLocal;
			BypassAddresses = bypassAddresses;
		}

		#endregion
	}
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author


You may also be interested in...

Permalink | Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.170308.1 | Last Updated 7 May 2004
Article Copyright 2004 by Omar Al Zabir
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid