From 05426eb6180463f24256fcea8a907f3b2e9bf960 Mon Sep 17 00:00:00 2001 From: Michael Bucari-Tovo Date: Sat, 3 Jul 2021 21:54:28 -0600 Subject: [PATCH] Added uri refresh to step 2. --- AaxDecrypter/AaxcDownloadConverter.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/AaxDecrypter/AaxcDownloadConverter.cs b/AaxDecrypter/AaxcDownloadConverter.cs index b7d1d3fa..c24a8c14 100644 --- a/AaxDecrypter/AaxcDownloadConverter.cs +++ b/AaxDecrypter/AaxcDownloadConverter.cs @@ -142,6 +142,9 @@ namespace AaxDecrypter if (File.Exists(jsonDownloadState)) { nfsPersister = new NetworkFileStreamPersister(jsonDownloadState); + //If More thaan ~1 hour has elapsed since getting the download url, it will expire. + //The new url will be to the same file. + nfsPersister.NetworkFileStream.SetUriForSameFile(new Uri(downloadLicense.DownloadUrl)); } else {