Displaying an Image from Azure Storage before downloading - C#
Displaying an Image from Azure Storage before downloading - C# I'm writing a program that will allow the user to download selected images from Azure Blob Storage. I have it working, however, currently, the images are downloaded to a file and then this file path is used to display the images. I want the images to be displayed and then allow the user to select which images can be downloaded. Below is my code for downloading the images. for (int i = 1; i<=dira.ListBlobs().Count(); i++) { try { CloudBlob blob = dira.GetBlobReference(i + ".png"); blob.DownloadToFile(localFilePath + "/" + i.ToString() + ".png", FileMode.Create); // MessageBox.Show(i.ToString()); } catch (StorageException ex) { } } Then my code for displaying the downloaded image is here: pictureBox1.BackgroundImage= Image.FromFile(filePath + ".png"); How would I display the images before they have been downloaded? ...