title: I'm getting 403 with HttpClient on Portable Class Library
body: <p>I have a PCL, WP and WinStore projects. In the PCL project I have a class with this method:</p>
  
  <pre><code>    private async Task&lt;string&gt; GetIpAddress()
      {
          const string url = "http://www.ip-adress.com/";
          const string buscar = "&lt;h3&gt;Your IP address is:";
  
          var client = new HttpClient();
          var data = await client.GetStringAsync(url);
          if (data.IndexOf(buscar, StringComparison.Ordinal) &lt;= -1) return;
          var IpAddress = data.Remove(0, data.IndexOf(buscar, StringComparison.Ordinal) + buscar.Length + 1);
          IpAddress = IpAddress.Remove(IpAddress.IndexOf("&lt;/h3&gt;", StringComparison.Ordinal));
          return IpAddress;
      }
  </code></pre>
  
  <p>When I invoke the method on the Windows Phone project works perfectly, but not in the Windows Store project. Instead, I'm getting this error message:</p>
  
  <p><img src="https://i.stack.imgur.com/8SIku.png" alt="Message 403"></p>