title: WebClient in .NET Compact Framework 2.0
body: <p>I've a CF 2.0 project where I need to implement something as below:</p>
  
  <pre><code>var myList = new List&lt;MyItem&gt;() { item1, item2 };
  
  using (var webclient = new WebClient())
  {
      webclient.Headers["Content-type"] = "application/json";
      webclient.Encoding = Encoding.UTF8;
  
      var data = JsonConvert.SerializeObject(myList);
  
      var response = webclient.UploadString("http://111.111.111.111:8762/MyService/FetchData", "POST", data);
      var myItems = JsonConvert.DeserializeObject(response, typeof(List&lt;MyItem&gt;));
  }
  </code></pre>
  
  <p>I Cannot find System.Net.WebClient in CF 2.0</p>