Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 5975869
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T21:08:50+00:00 2026-05-22T21:08:50+00:00

I am working with Block Blobs in Azure Storage. I need to get uncommitted

  • 0

I am working with Block Blobs in Azure Storage. I need to get uncommitted blocks, as far as I have found I need to call “Get Block List”. Here is the problem.

Does “Get Block List” functionality exists in C# (Microsoft.WindowsAzure.StorageClient.dll)?

MSDN only says about doing a HTTP request, not a word about StorageClient API.

If this function does not exists in C#, are there any plans to include it to the C# API?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T21:08:51+00:00Added an answer on May 22, 2026 at 9:08 pm

    I think what you are looking for is the DownloadBlockList method on CloudBlockBlob
    http://msdn.microsoft.com/en-us/library/microsoft.windowsazure.storageclient.cloudblockblob.downloadblocklist.aspx

    There’s example code there in MSDN – http://msdn.microsoft.com/en-us/library/ee772860.aspx

    static void DownloadBlockListForBlob(Uri blobEndpoint, string accountName, string accountKey)
    {
        //Create service client for credentialed access to the Blob service, using development storage.
        CloudBlobClient blobClient = new CloudBlobClient(blobEndpoint, new StorageCredentialsAccountAndKey(accountName, accountKey)); 
    
        //Get a reference to a block blob.
        CloudBlockBlob blockBlob = blobClient.GetBlockBlobReference("mycontainer/mybinaryblob.mp3");
    
        //Download the committed blocks in the block list.
        foreach (var blockListItem in blockBlob.DownloadBlockList())
        {
            Console.WriteLine("Block ID: " + blockListItem.Name);
            Console.WriteLine("Block size: " + blockListItem.Size);
            Console.WriteLine("Is block committed?: " + blockListItem.Committed);
            Console.WriteLine();
        }
    
        //Download only uncommitted blocks.
        foreach (var blockListItem in blockBlob.DownloadBlockList(BlockListingFilter.Uncommitted))
        {
            Console.WriteLine("Block ID: " + blockListItem.Name);
            Console.WriteLine("Block size: " + blockListItem.Size);
            Console.WriteLine("Is block committed?: " + blockListItem.Committed);
            Console.WriteLine();
        }
    
        //Download all blocks.
        foreach (var blockListItem in blockBlob.DownloadBlockList(BlockListingFilter.All))
        {
            Console.WriteLine("Block ID: " + blockListItem.Name);
            Console.WriteLine("Block size: " + blockListItem.Size);
            Console.WriteLine("Is block committed?: " + blockListItem.Committed);
            Console.WriteLine();
        }
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Any way I can get this working? I have a block of code: <p><a
I'm working on drupal 7 website. I have a VIEWS Block List for a
I'm working in Drupal 6. I have a requirement to add a particular block
PHP developer here working with c#. I'm using a technique to remove a block
I have written a simple, working tetris game with each block as an instance
I'm working with a multi line text block where I need to divide everything
Here is whats happening (Code Block Below): I am working on a simple drop-down
Can someone post a working example of the Enterprise Application Data block, to call
I'm trying to get the inline package working on my macbook. The following block
I'm currently working on a block world engine in XNA and can't get the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.