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

Bruce Krueger 331 Reputation points
2022-03-29T21:01:29.077+00:00

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.
Thanks.

Xamarin
Xamarin
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
    2022-04-01T02:30:47.193+00:00

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