473,396 Members | 1,971 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Code to handle a proxy server?

Does anybody have any code that will handle proxy servers? Specifically I
need something that will handle all the assorted options - no proxy, static
proxy, dynamic proxy by a script.

TIA - Jeff.
May 3 '07 #1
2 1597
Jeff,

Can you be more specific about what you mean by "handle" proxy servers?
What exactly are you trying to do?
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Mufasa" <jb@nowhere.comwrote in message
news:ev**************@TK2MSFTNGP03.phx.gbl...
Does anybody have any code that will handle proxy servers? Specifically I
need something that will handle all the assorted options - no proxy,
static proxy, dynamic proxy by a script.

TIA - Jeff.


May 3 '07 #2
I have a program that our clients you that goes out over the internet and
grabs files from our server. I use a webservice to get the list of files to
download which it then goes out and grabs the files. On clients with no
proxy server, works fine, on a client where they specify the proxy server,
works fine. But when they are specifying a dynamic proxy server - using a
script file, I can't get it to work.

I have seen documentation on the web about creating a dll using unmanaged
code to read a dynamic proxy's settings but it only does the dynamic - not
everything else.

So I figured before I started writing all that code, I would ask if anybody
has any code to do it that I can pilfer.

BTW - this is all done in .Net 1.1/C#.

Thanks.

Jeff.

"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.comwrote in
message news:em**************@TK2MSFTNGP03.phx.gbl...
Jeff,

Can you be more specific about what you mean by "handle" proxy servers?
What exactly are you trying to do?
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Mufasa" <jb@nowhere.comwrote in message
news:ev**************@TK2MSFTNGP03.phx.gbl...
>Does anybody have any code that will handle proxy servers? Specifically I
need something that will handle all the assorted options - no proxy,
static proxy, dynamic proxy by a script.

TIA - Jeff.



May 3 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: harry | last post by:
Hi, I have a program that runs on multiple client pc's. Occasionally one or more of those pc's use VPN to connect to another corporate network. When using VPN they need to set proxy server in...
40
by: Neo The One | last post by:
I think C# is forcing us to write more code by enforcing a rule that can be summarized as 'A local variable must be assgined *explicitly* before reading its value.' If you are interested in what...
4
by: MattC | last post by:
Gents, I have had to persist the viewstate into the Session object, however once this was done the W3WP process' memory ramped right up and used 300MB of VM. Below is my code, can anyone see...
3
by: Hans Merkl | last post by:
Hi, I am helping to build a web app that's pretty much a wrapper around a web service. The question now is how to store the handle of the web service object between requests. My client is using...
21
by: Jim | last post by:
I am trying to write an HTTP/HTTPS proxy server in VB.Net 2005. But, I don't really even know how the internal workings of a proxy should act. Does anyone have anything on the protocols used in...
1
by: Sai | last post by:
Hi I am new to .Net, I have a code in VB.Net and would like to convert that to c#. Could any one please help me as I have tried the tool "developfusion" web site but its of no luck. Here is my...
82
by: Edward Elliott | last post by:
This is just anecdotal, but I still find it interesting. Take it for what it's worth. I'm interested in hearing others' perspectives, just please don't turn this into a pissing contest. I'm in...
7
by: chandru1782 | last post by:
Dear friends, I am trying to use CPAN for installing some perl modules. i am using a ubuntu system, which has internet connection through lan and authenticated proxy. when trying to install...
4
by: Miha V | last post by:
Hi! We are using ASMX web service with WSE (we're using WS-Addressing) and IIS returns HTTP status code 200 even if XML is malformed (it can contain illegal characters in it). The request...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.