2captcha-csharp icon indicating copy to clipboard operation
2captcha-csharp copied to clipboard

Cannot Instantiate 2Captcha Object in .Net6.

Open shishank-bsc opened this issue 1 year ago • 2 comments
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

shishank-bsc avatar Feb 13 '24 07:02 shishank-bsc

TwoCaptcha.TwoCaptcha solver = new TwoCaptcha.TwoCaptcha(ApiKey); I got same your issue. I should try it!

tuannh6495 avatar Jun 18 '24 10:06 tuannh6495

https://github.com/2captcha/2captcha-csharp/issues/2

tuannh6495 avatar Jun 18 '24 10:06 tuannh6495