How do I read a file from a Webpage Media Library in Xamarin?

Bruce Krueger 331 Reputation points

I need to read a file (csv or txt) from a media library on a webpage. How do I access the file in Xamarin in order to read the file?
I have previously read a file using streamreader from a disk but now need to access one from the web.

Just get me started in the right direction.

A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,313 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Bruce Krueger 331 Reputation points

    I think I have found a solution by using WebClient and DownloadFileAsync.