title: C# download file from the web
body: <p>Is there a way to make the following function work <strong>via proxy</strong>?</p>
  
  <p><code>public T[] ReadStream(System.IO.TextReader reader);</code></p>
  
  <p>I want to be able to proxify the <code>reader</code> instance, so that it could <strong>download a file from the web</strong> on reading attempts and cache it somewhere.</p>
  
  <p>Or maybe there is something default for this purpose?</p>