Support ancient .NET in Core

This does not include .NET Framework 4.0 due to some issues with libraries.
This commit is contained in:
Matt Nadareski
2023-11-14 23:09:55 -05:00
parent 4a1e953ffd
commit 952828dddd
23 changed files with 522 additions and 136 deletions

View File

@@ -83,7 +83,11 @@ namespace MPF.Core.UI.ViewModels
/// </summary>
public static async Task<(bool?, string?)> TestRedumpLogin(string username, string password)
{
#if NETFRAMEWORK
return await Task.Run(() => RedumpWebClient.ValidateCredentials(username, password));
#else
return await RedumpHttpClient.ValidateCredentials(username, password);
#endif
}
#endregion