AdvancedLauncher.UI.Controls.GameControl.CheckGameAccessLoop C# (CSharp) Method

CheckGameAccessLoop() private method

private CheckGameAccessLoop ( ) : Task
return Task
        private async Task<bool> CheckGameAccessLoop() {
            //Проверяем наличие доступа к игре
            while (!ConfigurationManager.CheckUpdateAccess(ProfileManager.CurrentProfile.GameModel)) {
                if (await CheckGameAccessMessage()) {
                    return false;
                }
            }
            return true;
        }