Skip to content

Latest commit

 

History

History
73 lines (65 loc) · 2.46 KB

README.md

File metadata and controls

73 lines (65 loc) · 2.46 KB

CapSolver.com Library for .NET Core

Nuget Nuget GitHub last commit GitHub Release Date GitHub Repo stars

CapSolver.com Library for .NET Core. Register now from here!

Installation

via Package Manager:

NuGet\Install-Package CapSolver -Version 1.2.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.

via .NET CLI:

dotnet add package CapSolver --version 1.2.1

via adding PackageReference:

<PackageReference Include="CapSolver" Version="1.2.1" />

For projects that support PackageReference, copy this XML node into the project file to reference the package.

Supported Captcha Types

  • Image to text
  • ReCaptcha V2
  • ReCaptcha V3
  • HCaptcha
  • HCaptcha Classification
  • FunCaptcha
  • FunCaptcha Classification
  • GeeTest
  • Datadome Slider
  • Anti Cloud Flare
  • Mt Captcha
  • Binance Captcha
  • AWS WAF Classification
  • Anti Kasada
  • Anti Akamai BMP

Usage Examples


Creating a client

var client = new CapSolverClient("apikey");

Get balance

var client = new CapSolverClient("apikey");
await client.GetBalance();

Get Packages

var client = new CapSolverClient("apikey");
await client.GetPackages();

ReCaptchaV2 Task

var client = new CapSolverClient("apikey", false);
var task = new ReCaptchaV2Task("recaptcha-site", "recaptcha-site-key");
string id = await client.CreateTask(task);
var response = await client.JoinTaskResult<ReCaptchaV2Response>(id);

FunCaptcha Task

var client = new CapSolverClient("apikey", false);
var task = new FunCaptchaTask("funcaptcha-site", "funcaptcha-key", "funcaptcha-js-source");
string id = await client.CreateTask(task);
var response = await client.JoinTaskResult<FunCaptchaTaskResponse>(id);

For other examples and api documentation please visit wiki