mirror of
https://github.com/stuff-by-3-random-dudes/UWUVCI-AIO-WPF
synced 2024-11-13 23:07:08 +00:00
Reverted back to old hashcode checks
This commit is contained in:
parent
78a6fec8bd
commit
4e3ddfb8ac
1 changed files with 5 additions and 5 deletions
|
@ -1501,7 +1501,7 @@ namespace UWUVCI_AIO_WPF
|
||||||
}
|
}
|
||||||
public bool checkSysKey(string key)
|
public bool checkSysKey(string key)
|
||||||
{
|
{
|
||||||
if (GetDeterministicHashCode(key) == -589797700)
|
if (key.GetHashCode() == -589797700)
|
||||||
{
|
{
|
||||||
Properties.Settings.Default.SysKey = key;
|
Properties.Settings.Default.SysKey = key;
|
||||||
Properties.Settings.Default.Save();
|
Properties.Settings.Default.Save();
|
||||||
|
@ -1515,7 +1515,7 @@ namespace UWUVCI_AIO_WPF
|
||||||
}
|
}
|
||||||
public bool checkSysKey1(string key)
|
public bool checkSysKey1(string key)
|
||||||
{
|
{
|
||||||
if (GetDeterministicHashCode(key) == -1230232583)
|
if (key.GetHashCode() == -1230232583)
|
||||||
{
|
{
|
||||||
Properties.Settings.Default.SysKey1 = key;
|
Properties.Settings.Default.SysKey1 = key;
|
||||||
Properties.Settings.Default.Save();
|
Properties.Settings.Default.Save();
|
||||||
|
@ -2368,7 +2368,7 @@ namespace UWUVCI_AIO_WPF
|
||||||
}
|
}
|
||||||
public bool checkcKey(string key)
|
public bool checkcKey(string key)
|
||||||
{
|
{
|
||||||
if (-485504051 == GetDeterministicHashCode(key.ToLower()))
|
if (1274359530 == key.ToLower().GetHashCode())
|
||||||
{
|
{
|
||||||
Settings.Default.Ckey = key.ToLower();
|
Settings.Default.Ckey = key.ToLower();
|
||||||
ckeys = true;
|
ckeys = true;
|
||||||
|
@ -2381,7 +2381,7 @@ namespace UWUVCI_AIO_WPF
|
||||||
}
|
}
|
||||||
public bool isCkeySet()
|
public bool isCkeySet()
|
||||||
{
|
{
|
||||||
if (GetDeterministicHashCode(Settings.Default.Ckey.ToLower()) == -485504051)
|
if (Settings.Default.Ckey.ToLower().GetHashCode() == 1274359530)
|
||||||
{
|
{
|
||||||
ckeys = true;
|
ckeys = true;
|
||||||
return true;
|
return true;
|
||||||
|
@ -2394,7 +2394,7 @@ namespace UWUVCI_AIO_WPF
|
||||||
}
|
}
|
||||||
public bool checkKey(string key)
|
public bool checkKey(string key)
|
||||||
{
|
{
|
||||||
if (GbTemp.KeyHash == GetDeterministicHashCode(key.ToLower()))
|
if (GbTemp.KeyHash == key.ToLower().GetHashCode())
|
||||||
{
|
{
|
||||||
UpdateKeyInFile(key, $@"bin\keys\{GetConsoleOfBase(gbTemp).ToString().ToLower()}.vck", GbTemp, GetConsoleOfBase(gbTemp));
|
UpdateKeyInFile(key, $@"bin\keys\{GetConsoleOfBase(gbTemp).ToString().ToLower()}.vck", GbTemp, GetConsoleOfBase(gbTemp));
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Reference in a new issue