Update to .NET 6 except the both *.GUI-Projects

This commit is contained in:
2022-06-10 20:23:07 +02:00
parent 3d08dde114
commit 0661d67148
16 changed files with 121 additions and 276 deletions

View File

@@ -1,5 +1,4 @@
using drsPwEnc;
using Newtonsoft.Json;
using Newtonsoft.Json;
using Pilz.Cryptography;
using System;
using System.Collections.Generic;
@@ -17,18 +16,6 @@ namespace Pilz.Updating.Administration
public string UpdateInfoFilename { get; set; }
public string Username { get; set; }
[JsonProperty("Password")]
private string PasswordOld
{
set
{
if (string.IsNullOrEmpty(value))
Password = string.Empty;
else
Password = new drsPwEnc.drsPwEnc().DecryptData(value);
}
}
[JsonProperty("PasswordV3")]
public SecureString Password { get; set; }
}