public bool CheckIntegrity(string sha256) { string path = $"{_gamePathService.RootDir}/authlib-injector.jar"; return(!string.IsNullOrEmpty(sha256) && File.Exists(path) && CryptUtil.ValidateFileSHA256(path, sha256)); }
public bool CheckIntegrity(string sha256) { string path = $"{_gamePathService.RootDir}/authlib-injector.jar"; return(!string.IsNullOrEmpty(sha256) && File.Exists(path) && CryptUtil.ValidateFileSHA256(path, sha256)); }