I'm using FirebaseStorage.Net NuGet Package in Xamarin.Forms, and I want to retrieve the uploaded image/file in my Firebase Storage. Bases on my researching, the below code should be working, but after I execute the code, my app shut down immediately.
var webCl = new WebClient();
byte[] imgBytes = webCl.DownloadData(//Url of the image in the Firebase Storage);
var img = ImageSource.FromStream(() => new MemoryStream(imgBytes));
ProfileImage.Source = img;