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.
Normally I would use:
private XElement ImportData(string sourceUrl)
{
WebClient wc = new WebClient();
String source = wc.DownloadString(sourceUrl);
return XElement.Parse(source, LoadOptions.None);
}
but it isn't available.