Re: How to fetch the default HTTP proxy
From: Joerg Jooss (joerg.jooss_at_gmx.net)
Date: 06/12/04
- Next message: Glenn A. Harlan: "Re: Error calling Path.GetTempFileName(): The directory name is invalid"
- Previous message: Justin Rogers: "Re: Assembly.Load(byte[]) - how does it work? I get TargetInvocationException. Source code included..."
- In reply to: Bob Altman: "Re: How to fetch the default HTTP proxy"
- Next in thread: Bob Altman: "Re: How to fetch the default HTTP proxy"
- Reply: Bob Altman: "Re: How to fetch the default HTTP proxy"
- Messages sorted by: [ date ] [ thread ]
Date: Sun, 13 Jun 2004 00:19:07 +0200
Bob Altman wrote:
> Sorry, you lost me there... What do you mean "don't do anything in
> order to use the system's default proxy, assuming you're running the
> default configuration"?
Assuming you're running the default .NET configuration (i.e. you didn't
modify the proxy settings in machine.config), you don't need to assign an
IWebProxy instance to your HttpWebRequest's proxy property.
> My computer is set up to use a proxy server.
> However, if I don't go out of my way to feed the URL of my proxy
> server to the WebRequest, then it fails when it tries to contact the
> remote website.
Works for me. Does your proxy use authentication?
Cheers,
-- Joerg Jooss joerg.jooss@gmx.net
- Next message: Glenn A. Harlan: "Re: Error calling Path.GetTempFileName(): The directory name is invalid"
- Previous message: Justin Rogers: "Re: Assembly.Load(byte[]) - how does it work? I get TargetInvocationException. Source code included..."
- In reply to: Bob Altman: "Re: How to fetch the default HTTP proxy"
- Next in thread: Bob Altman: "Re: How to fetch the default HTTP proxy"
- Reply: Bob Altman: "Re: How to fetch the default HTTP proxy"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|