For those who use a newer version of CloudBlockBlob
and FetchAttributes
does not exist – use DownloadAttributes
instead.
CloudBlockBlob blockBlob = container.GetBlockBlobReference(blob.ToString());
blockBlob.DownloadAttributes();
var timemodified = blockBlob.Properties.LastModified;