C# captcha solver
Solve and bypass Google reCAPTCHA, Image CAPTCHA, Arkose FunCaptcha, Cloudflare Turnstile, Cloudflare Challenge and any captcha with C# captcha solver.
- No risk. Pay only for solved captchas
- Fastest human-based C# captcha solving service
How to automate solve and bypass any captcha with C#
-
You send a captcha to the C# captcha solver.
-
The server stores your captcha and returns the ID of your request.
-
The service completes the captcha solution and sends the answer back to the server.
-
You send a request to the server using the ID to retrieve the answer.
Installation
The script package can be installed using the package installer or manually
Nuget
Install nuget package by link.
dotnet add package solvecaptcha-csharp
You can also install the library directly from GitHub. Clone the repository:
git clone https://github.com/solvercaptcha/solvecaptcha-csharp.git
Add the project as a dependency:
We invite you to explore our GitHub repository where you can find libraries and SDK for easy integration with our API.
Configuration
Description of all the necessary parameters to configure the installed package
An instance of the SolveCaptcha class can be created like this:
SolveCaptcha solver = new SolveCaptcha('YOUR_API_KEY');
Also there are few options that can be configured:
solver.DefaultTimeout = 120; solver.RecaptchaTimeout = 600; solver.PollingInterval = 10;
SolveCaptcha instance options
Option | Default value | Description |
---|---|---|
defaultTimeout | 120 | Polling timeout in seconds for all captcha types except reCAPTCHA. Defines how long the SDK tries to get the answer from res.php API endpoint |
recaptchaTimeout | 600 | Polling timeout for reCAPTCHA in seconds. Defines how long the SDK tries to get the answer from res.php API endpoint |
pollingInterval | 10 | Interval in seconds between requests to res.php API endpoint, setting values less than 5 seconds is not recommended |
Solve captcha
When you submit any image-based captcha use can provide additional options to help solvecaptcha workers to solve it properly
Captcha options
Option | Default value | Description |
---|---|---|
numeric | 0 | Defines if captcha contains numeric or other symbols. See more info in the API docs |
minLength | 0 | minimal answer length |
maxLength | 0 | maximum answer length |
phrase | 0 | defines if the answer contains multiple words or not |
caseSensitive | 0 | defines if the answer is case sensitive |
calc | 0 | defines captcha requires calculation |
hintImg | - | an image with hint shown to workers with the captcha |
hintText | - | hint or task text shown to workers with the captcha |
Basic example
Example below shows a basic solver call example with error handling.
Normal captcha = new Normal(); captcha.SetFile("path/to/captcha.jpg"); captcha.SetMinLen(4); captcha.SetMaxLen(20); captcha.SetCaseSensitive(true); captcha.SetLang("en"); try { await solver.Solve(captcha); Console.WriteLine("Captcha solved: " + captcha.Code); } catch (Exception e) { Console.WriteLine("Error occurred: " + e.Message); }
To bypass a normal captcha (distorted text on image) use the following method. This method also can be used to recognize any text on the image.
Normal captcha = new Normal(); captcha.SetFile("path/to/captcha.jpg"); captcha.SetNumeric(4); captcha.SetMinLen(4); captcha.SetMaxLen(20); captcha.SetPhrase(true); captcha.SetCaseSensitive(true); captcha.SetCalc(false); captcha.SetLang("en"); captcha.SetHintImg(new FileInfo("path/to/hint.jpg")); captcha.SetHintText("Type red symbols only");
-
Best captcha solving service
Service is ranked among the best captcha solving service, according to independent analytics by CaptchaTheCat website.
-
Fast captcha solver
Service is incredibly fast captcha solver, thanks to its integration of machine learning (ML) technology.
-
Cheapest captcha solver
Service is cheapest due to the use of machine learning (ML) technology, which automates CAPTCHA solving at scale, reducing the need for manual labor and allowing us to offer lower prices without sacrificing quality.
Use cases
Bypassing captcha enables to automate captcha solving interactions and is used to optimize tasks such as automated testing, web scraping, accessibility, and improving security.
-
Accesability
-
Cybersecurity
-
Automated testing
-
Scarping
Captcha solver API
The API documentation contains examples of requests and responses. For the convenience of using the service, we have published libraries on GitHub for programming languages: Python, Java, C#, C++, Javascript, Ruby, PHP, and Go. We have also developed code examples for automatically solving reCAPTCHAs using tools like Selenium and Puppeteer.
Captcha solver API