This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public async Task<List<string>> GetBlobFileListAsync(string storageConnectionString, string containerName) | |
{ | |
try | |
{ | |
// Get Reference to Blob Container | |
CloudStorageAccount storageAccount = CloudStorageAccount.Parse(storageConnectionString); | |
CloudBlobClient blobClient = storageAccount.CreateCloudBlobClient(); | |
CloudBlobContainer container = blobClient.GetContainerReference(containerName); | |
// Fetch info about files in the container |