AnticaptchaNet 0.9.1
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package AnticaptchaNet --version 0.9.1
NuGet\Install-Package AnticaptchaNet -Version 0.9.1
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="AnticaptchaNet" Version="0.9.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add AnticaptchaNet --version 0.9.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: AnticaptchaNet, 0.9.1"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install AnticaptchaNet as a Cake Addin #addin nuget:?package=AnticaptchaNet&version=0.9.1 // Install AnticaptchaNet as a Cake Tool #tool nuget:?package=AnticaptchaNet&version=0.9.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Source
Usage
First, get your anticaptcha API key.
Go to your Anticaptcha API setup panel and copy your Account key.
Add library to your project:
PM> Install-Package AnticaptchaNet
And simply:
Anticaptcha anticaptcha = new Anticaptcha("YOUR_ANTICAPTCHA_KEY");
if (anticaptcha.Balance < 0.1) return;
int taskId = anticaptcha.CreateTask("captcha_filepath.jpg");
TaskResult taskResult = anticaptcha.GetTaskResult(taskId);
while (!taskResult.IsDone)
{
Thread.Sleep(1000); // Wait for captcha solution.
taskResult = anticaptcha.GetTaskResult(taskId);
}
string captchaSolution = ((Captcha.ImageToTextSolution)taskResult.Solution).Text;
Dependencies
There are no supported framework assets in this package.
Learn more about Target Frameworks and .NET Standard.
-
- Newtonsoft.Json (>= 11.0.2)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Initial.