Hi,
I want to get image from microsoft azure blob storage
Please give me a code for that.
Thanks
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Amit Kumar SinghRank #562 · 4.3K reputationPosted Mar 15, 2016, 10:51 PM EDT
storageAccount = new CloudStorageAccount(new StorageCredentials("accountname", "accountkey"), false); var container = storageAccount.CreateCloudBlobClient().GetContainerReference("containername"); //Get the container permission var permissions = container.GetPermissions(); Console.WriteLine("Container's ACL is: " + permissions.PublicAccess); //Set the container permission to Blob container.SetPermissions(new BlobContainerPermissions() { PublicAccess = BlobContainerPublicAccessType.Blob, });