TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
VNT
NA
8
0
proxy info
Dec 7 2005 6:41 PM
Hi all, I want to query a website however there is a proxy MyProxy.com.au that I have to go thru. which i have to provide my user login name and password. Because user name and password are the one I logon the computer (and I already logon) So is there anyway that I can bypass or not to provide the username and password to the proxy or query it as I have logon ? CODE: WebProxy proxyObject = null; NetworkCredential sc = null; proxyObject = new WebProxy("MyProxy.com.au"); sc = new NetworkCredential("VNT", "vntpassword"); GlobalProxySelection.Select = proxyObject; proxyObject.Credentials = sc; HttpWebRequest request = (HttpWebRequest)WebRequest.Create(url); request.Credentials = new NetworkCredential(username, password); HttpWebResponse response = (HttpWebResponse)request.GetResponse();
Reply
Answers (
0
)
FormsAuthentication doubt
How to Access X.509 Certificates using LDAP