title: Calling a rest API windows 10 IoT with a Raspberri pi
body: <p>I'm trying to do something as simple as calling a REST API using an universal app for windows 10 IoT but I can't find a way to do it.</p>
  
  <p>Normally I would use:</p>
  
  <pre><code>private XElement ImportData(string sourceUrl)
      {
  
          WebClient wc = new WebClient();
  
          String source = wc.DownloadString(sourceUrl);
          return XElement.Parse(source, LoadOptions.None);
  
      }
  </code></pre>
  
  <p>but it isn't available.</p>