Example #1
0
        public bool GetDataFromTwitch(ref string challenge, ref string token, ref Bitmap picture)
        {
            string SignUpPage = "";

            if (AccountCreation.GetSignupPage(ref SignUpPage))
            {
                if (AccountCreation.GetToken(SignUpPage, ref token))
                {
                    if (AccountCreation.GetRecaptchaChallenge(ref challenge))
                    {
                        if (AccountCreation.GetRecaptchaImage(challenge, ref picture))
                        {
                            return(true);
                        }
                    }
                }
            }

            return(false);
        }