diff --git a/ArchiSteamFarm/ArchiWebHandler.cs b/ArchiSteamFarm/ArchiWebHandler.cs index e7fc28c52..16f7e6e28 100644 --- a/ArchiSteamFarm/ArchiWebHandler.cs +++ b/ArchiSteamFarm/ArchiWebHandler.cs @@ -828,7 +828,7 @@ namespace ArchiSteamFarm { } } - internal async Task HandleConfirmation(string deviceID, string confirmationHash, uint time, uint confirmationID, ulong confirmationKey, bool accept) { + internal async Task HandleConfirmation(string deviceID, string confirmationHash, uint time, ulong confirmationID, ulong confirmationKey, bool accept) { if (string.IsNullOrEmpty(deviceID) || string.IsNullOrEmpty(confirmationHash) || (time == 0) || (confirmationID == 0) || (confirmationKey == 0)) { Bot.ArchiLogger.LogNullError(nameof(deviceID) + " || " + nameof(confirmationHash) + " || " + nameof(time) + " || " + nameof(confirmationID) + " || " + nameof(confirmationKey)); return null; diff --git a/ArchiSteamFarm/MobileAuthenticator.cs b/ArchiSteamFarm/MobileAuthenticator.cs index e064f495a..0c8ff65a9 100644 --- a/ArchiSteamFarm/MobileAuthenticator.cs +++ b/ArchiSteamFarm/MobileAuthenticator.cs @@ -153,7 +153,7 @@ namespace ArchiSteamFarm { return null; } - if (!uint.TryParse(idString, out uint id) || (id == 0)) { + if (!ulong.TryParse(idString, out ulong id) || (id == 0)) { Bot.ArchiLogger.LogNullError(nameof(id)); return null; } @@ -371,11 +371,11 @@ namespace ArchiSteamFarm { } internal sealed class Confirmation { - internal readonly uint ID; + internal readonly ulong ID; internal readonly ulong Key; internal readonly Steam.ConfirmationDetails.EType Type; - internal Confirmation(uint id, ulong key, Steam.ConfirmationDetails.EType type) { + internal Confirmation(ulong id, ulong key, Steam.ConfirmationDetails.EType type) { if ((id == 0) || (key == 0) || (type == Steam.ConfirmationDetails.EType.Unknown)) { throw new ArgumentNullException(nameof(id) + " || " + nameof(key) + " || " + nameof(type)); }