mirror of
https://github.com/stuff-by-3-random-dudes/UWUVCI-AIO-WPF
synced 2024-11-10 05:34:13 +00:00
fixed issues that keys were case sensetiv
This commit is contained in:
parent
52b2c321e7
commit
3c40045356
1 changed files with 2 additions and 2 deletions
|
@ -1071,7 +1071,7 @@ namespace UWUVCI_AIO_WPF
|
||||||
}
|
}
|
||||||
public bool checkcKey(string key)
|
public bool checkcKey(string key)
|
||||||
{
|
{
|
||||||
if (487391367 == key.GetHashCode())
|
if (1274359530 == key.ToLower().GetHashCode())
|
||||||
{
|
{
|
||||||
Settings.Default.Ckey = key;
|
Settings.Default.Ckey = key;
|
||||||
Settings.Default.Save();
|
Settings.Default.Save();
|
||||||
|
@ -1093,7 +1093,7 @@ namespace UWUVCI_AIO_WPF
|
||||||
}
|
}
|
||||||
public bool checkKey(string key)
|
public bool checkKey(string key)
|
||||||
{
|
{
|
||||||
if(GbTemp.KeyHash == key.GetHashCode())
|
if(GbTemp.KeyHash == key.ToLower().GetHashCode())
|
||||||
{
|
{
|
||||||
UpdateKeyInFile(key, $@"keys\{GetConsoleOfBase(gbTemp).ToString().ToLower()}.vck", GbTemp, GetConsoleOfBase(gbTemp));
|
UpdateKeyInFile(key, $@"keys\{GetConsoleOfBase(gbTemp).ToString().ToLower()}.vck", GbTemp, GetConsoleOfBase(gbTemp));
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Reference in a new issue