public override Captcha resolveRecaptcha(byte[] imageBytes, string Username, string Password) { Captcha objCaptcha = new Captcha(); try { API.CAPTCHA.CAPTCHA objAPICaptcha = new API.CAPTCHA.CAPTCHA(); string Captcha = objAPICaptcha.UploadCaptchaAndGetText(Username, Password, imageBytes); objCaptcha.CaptchaImage = Captcha; } catch (Exception ex) { GlobusLogHelper.log.Error("Error : " + ex.StackTrace); } return(objCaptcha); }
public override Captcha resolveRecaptcha(byte[] imageBytes, string Username, string Password) { Captcha objCaptcha = new Captcha(); try { API.CAPTCHA.CAPTCHA objAPICaptcha = new API.CAPTCHA.CAPTCHA(); string Captcha = objAPICaptcha.UploadCaptchaAndGetText(Username, Password, imageBytes); objCaptcha.CaptchaImage = Captcha; } catch (Exception ex) { GlobusLogHelper.log.Error("Error : " + ex.StackTrace); } return objCaptcha; }