Hello,
I am trying to implement a simple windows application that reads from a specified url.
Currently am using the WebClient class to access the url and the OpenRead() member to retrieve a readable stream which I then read with a StreamReader.
This works fine for url within my domain.
The problem starts when I try to access url's outside my domain (such as www.yahoo.com). When I do this the connection times out. Obviously I need to connect through a proxy. However, I found no way to define a proxy for the WebClient class. (The WebRequest class has a Proxy property but it does not have a method to retrieve streams for READING).
What should I do?
Aviv.