private async Task <string> SolveRecaptcha(string googleSiteKey, string pageUrl, bool isInvisible) { AntiCaptchaResult antiCaptchaResult = await AntiCaptcha.SolveReCaptchaV2(googleSiteKey, pageUrl, isInvisible); if (antiCaptchaResult.Success) { return(antiCaptchaResult.Response); } return(null); }
private async Task <string> SolveImage(string imageBase64) { AntiCaptchaResult antiCaptchaResult = await AntiCaptcha.SolveImage(imageBase64); if (antiCaptchaResult.Success) { return(antiCaptchaResult.Response); } return(null); }
private async void SetBalance() { AntiCaptchaResult antiCaptchaResult = await AntiCaptcha.GetBalance(); if (antiCaptchaResult.Success) { Balance = Convert.ToDecimal(antiCaptchaResult.Response); } else { Balance = 0m; } }