How to retrieve content from a website with VS 11
<p>I am trying this in Visual Studio 11 in Windows 8. As I see I can't use <code>WebClient</code> to do this, so I tried using <code>HttpClient</code>:</p>

<pre><code>var client = new HttpClient();
var response = client.Get("http://google.com");
var result = XDocument.Parse(response.Content.ReadAsString());
</code></pre>

<p>My problem is that I always get result to be null. In response I get a status code 200 (OK) but I can't see the content.</p>

<p>What am I doing wrong ?</p>

<p>Thanks.</p>
