+ @if (showProgress)
+ {
+
+ }
+
@outMessages
diff --git a/MP.Land/Pages/UpdateManager.razor.cs b/MP.Land/Pages/UpdateManager.razor.cs
index a868aabc..183c4a62 100644
--- a/MP.Land/Pages/UpdateManager.razor.cs
+++ b/MP.Land/Pages/UpdateManager.razor.cs
@@ -1,7 +1,10 @@
using Microsoft.AspNetCore.Components;
+using Microsoft.Extensions.Configuration;
+using MP.AppAuth;
using MP.Land.Data;
using System;
using System.Collections.Generic;
+using System.Diagnostics;
using System.Linq;
using System.Threading.Tasks;
@@ -17,8 +20,14 @@ namespace MP.Land.Pages
#region Protected Fields
+ protected int numDone = 0;
+ protected int numTot = 0;
protected int totalCount = 0;
+ protected double TotalMb = 0;
+
+ protected UpdateMan updateManAuth = new UpdateMan("SWDownloader", "viaD@nte16");
+
#endregion Protected Fields
#region Protected Properties
@@ -26,18 +35,78 @@ namespace MP.Land.Pages
[Inject]
protected MessageService AppMService { get; set; }
+ [Inject]
+ protected IConfiguration Configuration { get; set; }
+
[Inject]
protected AppAuthService DataService { get; set; }
+ protected string outMessages { get; set; } = "";
+
+ protected int percLoading { get; set; } = 0;
+
+ protected bool showProgress { get; set; } = false;
+
#endregion Protected Properties
+ #region Private Methods
+
+ private async Task