Update baserom, add creation timestamp to seed fetch results

This commit is contained in:
2025-09-05 21:12:10 -05:00
parent 06afab3a10
commit 7dd8e3c217
4 changed files with 59 additions and 1 deletions

View File

@@ -1,5 +1,6 @@
namespace ALttPRandomizer.Azure {
using global::Azure.Storage.Blobs;
using global::Azure.Storage.Blobs.Models;
using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
@@ -62,5 +63,11 @@
return data;
}
public async Task<DateTimeOffset> GetFileCreation(string filename) {
var blob = this.BlobClient.GetBlobClient(filename);
var blobProperties = await blob.GetPropertiesAsync();
return blobProperties.Value.CreatedOn;
}
}
}