We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I am trying to integrate 2Captcha service in my .Net6 Application.
I have installed this nuget package: https://www.nuget.org/packages/2captcha-csharp/
I added the namespace: using TwoCaptcha.Captcha;
But I am not able to instantiate the object:
TwoCaptcha solver = new TwoCaptcha('YOUR_API_KEY'); reCAPTCHA captcha = new reCAPTCHA(); Getting error here.
How can I resolve this?
https://stackoverflow.com/questions/77986229/cannot-instantiate-twocaptcha-object-in-net-6
The text was updated successfully, but these errors were encountered:
TwoCaptcha.TwoCaptcha solver = new TwoCaptcha.TwoCaptcha(ApiKey); I got same your issue. I should try it!
Sorry, something went wrong.
#2
namespace ConsoleApp1 { using TwoCaptcha; using TwoCaptcha.Captcha; using TwoCaptcha.Exceptions; class Program { static void Main(string[] args) { TwoCaptcha solver = new TwoCaptcha("55555555555555555555"); Text captcha = new Text("If tomorrow is Saturday, what day is today?"); try { solver.Solve(captcha).Wait(); Console.WriteLine("Captcha solved: " + captcha.Code); } catch (AggregateException e) { Console.WriteLine("Error occurred: " + e.InnerExceptions.First().Message); } } } }
No branches or pull requests
I am trying to integrate 2Captcha service in my .Net6 Application.
I have installed this nuget package: https://www.nuget.org/packages/2captcha-csharp/
I added the namespace: using TwoCaptcha.Captcha;
But I am not able to instantiate the object:
TwoCaptcha solver = new TwoCaptcha('YOUR_API_KEY');
reCAPTCHA captcha = new reCAPTCHA();
Getting error here.
How can I resolve this?
https://stackoverflow.com/questions/77986229/cannot-instantiate-twocaptcha-object-in-net-6
The text was updated successfully, but these errors were encountered: