title: How to get the most recent snapshot of the Blob Storage in the Blob Triggered Function app?
body: <p>I am trying to receive the latest snapshot of the blob and compare it against the latest blob content to get the delta/ the content updated(either deleted, removed or new content added to the file, file has json content in it). For this, I'll need to get the latest snapshot and was seeing if the azure sdk provides the feature to do so?</p>
  <p>Here is the implementation logic:</p>
  <pre><code> BlobContainerClient containerClient = blobServiceClient.GetBlobContainerClient(&quot;foo&quot;);
   BlobClient blob = containerClient.GetBlobClient(pathtotheblobcontentfileinthecontainer);          
   var resultSegment = containerClient.GetBlobsAsync(prefix: PREFIX+path, states: BlobStates.Snapshots);
                  
                
  </code></pre>