title: How to get all files from a directory in Azure BLOB using ListBlobsSegmentedAsync
body: <p>While trying to access all files of the Azure blob folder, getting sample code for <code>container.ListBlobs();</code> however it looks like an old one.</p>
  
  <p>Old Code : <code>container.ListBlobs();</code></p>
  
  <p>New Code trying :    <code>container.ListBlobsSegmentedAsync(continuationToken);</code></p>
  
  <p>I am trying to use the below code : </p>
  
  <pre><code>container.ListBlobsSegmentedAsync(continuationToken);
  </code></pre>
  
  <p>Folders are like :</p>
  
  <pre><code>Container/F1/file.json
  Container/F1/F2/file.json
  Container/F2/file.json
  </code></pre>
  
  <p>Looking for the updated version to get all files from an Azure folder.
  Any sample code would help, thanks!</p>