title: Read response header from WebClient in C#
body: <p>I'm trying to create my first windows client (and this is my fist post her), there shall communicate with a "web services", but i have some trouble to read the response header there is coming back. In my response string do I received a nice JSON document back (and this is my next problem), but i'm not able to "see/read" the header in the response, only the body.</p>
  
  <p>Below is the code i'm using.</p>
  
  <pre><code>        WebClient MyClient = new WebClient();
          MyClient.Headers.Add("Content-Type", "application/json");
          MyClient.Headers.Add("User-Agent", "DIMS /0.1 +http://www.xxx.dk");
          var urlstring = "http://api.xxx.com/users/" + Username.Text;
          string response = MyClient.DownloadString(urlstring.ToString());
  </code></pre>