Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C# proxy
Hey there!
 
I'm student of Computer Sciences at university level and its quite painful to set proxy in web browsers we want to use and different applications like Internet Download Manager as university uses proxy server. I was thinking of developing a small utility which sets proxy in different applications and remove it from them. The first a straight forward question, is it even possible? And if it is, please give me a hint how to do this. I can help thousand of students in my campus with this utility. Please try your best to help me with this. Thanks in advance Smile | :)
Posted 1-Apr-13 5:03am
Zainy95808
Comments
Sergey Alexandrovich Kryukov at 1-Apr-13 13:30pm
   
The first a straightforward response: not clear. As proxy servers exist, you of course can embed one in some application, but what "within different browsers and applications" may possibly mean? Don't you think that it depends on what applications do you mean?
—SA
Zainy95 at 1-Apr-13 14:11pm
   
Okay, lemme try it again. As I connect my WiFi to my institution wireless router, I need to use a proxy which is given to students and staff of university to be able to use internet. So what we do, we put that proxy in Google Chrome, Mozilla Firefox & Internet Download Manager and even in Skype. What I want is, rather than I/we write down proxy to each of these apps one by one and after getting home, remove proxy again manually. I'd like to do this with some program and I want help to write such program. I hope I made myself clear now.
Sergey Alexandrovich Kryukov at 1-Apr-13 14:21pm
   
Existing browsers do have some "work through proxy" options which you can use. The proxy itself should be the same; from the standpoint of the browser, it simply replaced the HTTP server... There is no one universal way to do it for all browsers. You would need to use some API for each browser, if such API is available...
—SA

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

You really cant' do this as you'd have to code seperate modules to support hundreds, if not thousands, of different browsers and applications.
 
You can handle the browser part very easily without writing a single line of code. It's called a Proxy AutoConfiguration script[^]. Just about all browsers support being pointed to a single URL to pickup the script from, thereby configuring the browser proxy settings, even giving you the ability to configure and use different proxy servers depending on the target URL you're browsing to.
 
Other applications don't support this though. They all have to be configured differently and usually configured by hand to use your proxy server.
  Permalink  

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

  Print Answers RSS
0 OriginalGriff 304
1 Sergey Alexandrovich Kryukov 255
2 Shweta N Mishra 216
3 Maciej Los 210
4 PIEBALDconsult 174
0 OriginalGriff 7,660
1 Sergey Alexandrovich Kryukov 7,072
2 DamithSL 5,586
3 Manas Bhardwaj 4,946
4 Maciej Los 4,665


Advertise | Privacy | Mobile
Web03 | 2.8.1411023.1 | Last Updated 1 Apr 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100