How do I get and get the String
contained in an online file in Windows Phone 8.1 SDK?
How do I get and get the String
contained in an online file in Windows Phone 8.1 SDK?
You can do this:
private async Task<string> DownloadAndReadFile(string url)
{
HttpClient client = new HttpClient();
return await client.GetStringAsync(url);
}