2captcha-csharp
2captcha-csharp copied to clipboard
Cannot Instantiate 2Captcha Object in .Net6.
trafficstars
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
TwoCaptcha.TwoCaptcha solver = new TwoCaptcha.TwoCaptcha(ApiKey); I got same your issue. I should try it!
https://github.com/2captcha/2captcha-csharp/issues/2