?
Solved

Webservice call through socks proxy

Posted on 2004-08-08
3
Medium Priority
?
291 Views
Last Modified: 2008-01-16
Hi guys,

We are using the following code to call webservice through proxy.

proXy = New WebProxy(drSchedule("server"), CType(drSchedule("port"), Integer))
proXy.Credentials = New System.Net.NetworkCredential("username","password")
proXy.BypassProxyOnLocal = True
GlobalProxySelection.Select = proXy

url = "http://www.google.com"
webReq = WebRequest.Create(strurl)
webReq.Proxy = proXy
webResp = webReq.GetResponse

This works perfectly with httpproxy having basic authentication. But not working through socks. Can anybody give any idea how to get it working through socks. Also if somebody can explain how these different type authentication works on proxies. We have to distribute this software and each client is using different proxies with different settings. how can we make our software compatible with all types of proxies.


Thanks
Anish
0
Comment
Question by:inetworks
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 5

Accepted Solution

by:
thenrich earned 2000 total points
ID: 11915126
what settings are you looking to make differant? If it's user name and password you'll have to pop-up an input box to collect that information. Else try this links

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wceinet/html/wceinetProxyAuthentication.asp
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wceinternet5/html/wce50conhttpauthentication.asp
0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Article by: Kraeven
Introduction Remote Share is a simple remote sharing tool, enabling you to see, add and remove remote or local shares. The application is written in VB.NET targeting the .NET framework 2.0. The source code and the compiled programs have been in…
It’s quite interesting for me as I worked with Excel using vb.net for some time. Here are some topics which I know want to share with others whom this might help. First of all if you are working with Excel then you need to Download the Following …
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
Suggested Courses
Course of the Month15 days, 16 hours left to enroll

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question