473,385 Members | 1,569 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,385 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 1331
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...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...

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.