title: How to set proxy without credentials to WebClient c.net
body: <p>I have a proxy and port number but don't have credentials .how can iset the webclient to go through that proxy ,the below code is giving error </p>
  
  <pre><code>string proxyserver = "http://10.0.0.127:8080/";
      IWebProxy proxy = new WebProxy(proxyserver);
      proxy.Credentials = CredentialCache.DefaultCredentials;
      WebClient.Proxy = proxy;
       byte[] rawResponse = WebClient.UploadFile(url, filename);
  </code></pre>
  
  <p>If i use CredentialCache i don't have authenticationtype and networkcredential. Is there any other way to assign my proxy to the WebClient</p>
  
  <p>thanks,</p>
  
  <p>michaled</p>