private async void TestKey() {
AppKeyHolder.Initialize(FilesStorage.Instance.GetFilename("License.txt"));
if (AppKeyHolder.Instance.Revoked == null) return;
await Task.Delay(3000);
ValuesStorage.SetEncrypted(AppKeyDialog.AppKeyRevokedKey, AppKeyHolder.Instance.Revoked);
AppKeyHolder.Instance.SetKey(null);
Current.Dispatcher.Invoke(() => {
if (Current?.MainWindow is MainWindow && Current.MainWindow.IsActive) {
AppKeyDialog.ShowRevokedMessage();
}
});
}