I'm porting code to work with Azure's Storage SDK in C#.
Traditionally, I'd call this to update modified the last write/modified time of a file:
CloudBlockBlob blob = container.GetBlockBlobReference(fileName);
blob.Properties.LastModified = lastWriteTimeUtc;
Property or indexer 'Microsoft.WindowsAzure.Storage.Blob.BlobProperties.LastModified' cannot be assigned to -- it is read only
What you want is effectively a "touch" operation. You must re-upload the BLOB to change the
If you want to manage your own custom last modified variable, the best thing you can probably do is store a custom "Last Modified" field in your BLOB and use that yourself, vs relying on the native
LastModified provided by Azure BLOB.