WebProxy IP adress

  • Thread starter Thread starter Ricardo Luceac
  • Start date Start date
R

Ricardo Luceac

I need to use a Proxy to use a webrequest object, but the proxy is not a
URI, is a ip address and a port number...

How can I create the WebProxy object???

Or use the proxy in other way???

[]s...
 
Ricardo,

You can create a URL from the IP address and port number, using this
format:

http://<ip address>:<port number>

For example:

http://192.168.1.1:8080

You can then pass that string to the constructor of the WebProxy class
and it should work fine.

Hope this helps.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top