C# (C Sharp):captcha1.StartCaptcha(); //Start the captchacaptcha1.CaseSensitive = false; //If the captcha is case sensitivecaptcha1.Characters = 10; //The numbers of characters in the captchaif(captcha1.Solve("TEST")) //Check if the captcha's text is the first parameter.{ MessageBox.Show("The captcha is solved!"); captcha1.ChangeCaptcha(); //Change the captcha}
Visual Basic .NET:captcha1.StartCaptcha() 'Start the captchacaptcha1.CaseSensitive = False 'If the captcha is case sensitivecaptcha1.Characters = 10 'The numbers of characters in the captchaIf captcha1.Solve("TEST") Then 'Check if the captcha's text is the first parameter. MessageBox.Show("The captcha is solved!") captcha1.ChangeCaptcha() 'Change the captchaEnd If