473,395 Members | 1,639 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,395 software developers and data experts.

thru proxy

Hi all!
I have an app that needs to connect to internet thru a proxy.
Does anybody knoe how should I write the credentials for my proxy?

Thanks in advance,
Sebastián
Jul 21 '05 #1
3 1333
The HttpWebRequest object has a Proxy property on it. You can create an
instance of the WebProxy class and set the proxy credentials on the
Credentials property of the WebProxy class.

--
Ben Lucas
Lead Developer
Solien Technology, Inc.
www.solien.com

"Sebastián" <NO***********@poderjudicial.gub.uy> wrote in message
news:On*************@TK2MSFTNGP14.phx.gbl...
Hi all!
I have an app that needs to connect to internet thru a proxy.
Does anybody knoe how should I write the credentials for my proxy?

Thanks in advance,
Sebastián

Jul 21 '05 #2
Thanks Ben, the thing is that the response I get from that URL is a XML
document... and for some reason I can't tget the response, shall that be the
reason or xml has nothing to do with my problem...
I'm getting a time out exception

"Ben Lucas" <be*@nospam.solien.nospam.com> wrote in message
news:27********************@comcast.com...
The HttpWebRequest object has a Proxy property on it. You can create an
instance of the WebProxy class and set the proxy credentials on the
Credentials property of the WebProxy class.

--
Ben Lucas
Lead Developer
Solien Technology, Inc.
www.solien.com

"Sebastián" <NO***********@poderjudicial.gub.uy> wrote in message
news:On*************@TK2MSFTNGP14.phx.gbl...
Hi all!
I have an app that needs to connect to internet thru a proxy.
Does anybody knoe how should I write the credentials for my proxy?

Thanks in advance,
Sebastián


Jul 21 '05 #3
The response being XML shouldn't matter.
Maybe you could post the part of your code that is making the request.

--
Ben Lucas
Lead Developer
Solien Technology, Inc.
www.solien.com

"Sebastián" <NO***********@poderjudicial.gub.uy> wrote in message
news:%2****************@TK2MSFTNGP14.phx.gbl...
Thanks Ben, the thing is that the response I get from that URL is a XML
document... and for some reason I can't tget the response, shall that be the reason or xml has nothing to do with my problem...
I'm getting a time out exception

"Ben Lucas" <be*@nospam.solien.nospam.com> wrote in message
news:27********************@comcast.com...
The HttpWebRequest object has a Proxy property on it. You can create an
instance of the WebProxy class and set the proxy credentials on the
Credentials property of the WebProxy class.

--
Ben Lucas
Lead Developer
Solien Technology, Inc.
www.solien.com

"Sebastián" <NO***********@poderjudicial.gub.uy> wrote in message
news:On*************@TK2MSFTNGP14.phx.gbl...
Hi all!
I have an app that needs to connect to internet thru a proxy.
Does anybody knoe how should I write the credentials for my proxy?

Thanks in advance,
Sebastián



Jul 21 '05 #4

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

Similar topics

0
by: Dean Slindee | last post by:
Anybody got this working or know of explicit instructions on how to get debug stepping thru a stored procedure with Visual Studio .NET and Windows 2000 OS? I get this error message "Unable to...
20
by: Jakob Bieling | last post by:
Hi! I am using VC++ 7.1 and have a question about return value optimization. Consider the following code: #include <list> #include <string> struct test {
0
by: Peter Steele | last post by:
I need to implement a simple TCP/IP pass-through proxy server. The user would connect to the proxy on a known port and the proxy would simply forward the data to the real server (that's listening...
0
by: Steve Podradchik | last post by:
Hi, We have a commercial app that downloads data from various Web pages (not via a Web Service, per se) and parses the data from the response. The code below works fine most of the time but, in...
0
by: Steve Podradchik | last post by:
Hi, In reading the docs for how to do NTLM authentication w/ .Net, an interesting problem seems to appear. Specifically, how do you set the username/password info for a 3rd party Web server...
3
by: Wild Wind | last post by:
Hello all, I apologise in advance for the long windedness of this post, but I feel that if I am going to get any solution to this problem, it is important that I present as much information...
6
by: Sebastián | last post by:
Hi all! I have an app that needs to connect to internet thru a proxy. Does anybody knoe how should I write the credentials for my proxy? Thanks in advance, Sebastián
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...
0
by: =?Utf-8?B?VFRL?= | last post by:
I have a vb.net web service. I am trying to call another webservice that is secured through certificate. I have received the certificate file and I am trying to call the service using the file. I...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
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: 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,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.