Show / Hide Table of Contents

Class SolveReCaptcha

Implements the API of https://www.solverecaptcha.com/

Inheritance
System.Object
CaptchaService
SolveReCaptcha
Inherited Members
CaptchaService.ApiKey
CaptchaService.User
CaptchaService.Pass
CaptchaService.Timeout
CaptchaService.TaskId
CaptchaService.Status
CaptchaService.SolveCaptcha(Bitmap)
CaptchaService.GetBase64(Bitmap, ImageFormat)
CaptchaService.GetStream(Bitmap, ImageFormat)
CaptchaService.GetBytes(Bitmap)
CaptchaService.PostSync(HttpClient, String, HttpContent)
CaptchaService.PostSync2(HttpClient, String, HttpContent)
CaptchaService.PostSync3(HttpClient, String, HttpContent)
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: RuriLib.CaptchaServices
Assembly: RuriLib.dll
Syntax
public class SolveReCaptcha : CaptchaService

Constructors

| Improve this Doc View Source

SolveReCaptcha(String, String, Int32)

Creates a SolveRecaptcha client.

Declaration
public SolveReCaptcha(string userId, string apiKey, int timeout)
Parameters
Type Name Description
System.String userId

The id of the user

System.String apiKey

The SolveRecaptcha API key

System.Int32 timeout

The maximum time to wait for the challenge to be solved

Methods

| Improve this Doc View Source

GetBalance()

Gets the remaining balance in the account.

Declaration
public override double GetBalance()
Returns
Type Description
System.Double

The balance of the account

Overrides
CaptchaService.GetBalance()
| Improve this Doc View Source

SolveRecaptcha(String, String)

Solves a reCaptcha challenge for a given site.

Declaration
public override string SolveRecaptcha(string siteKey, string siteUrl)
Parameters
Type Name Description
System.String siteKey

The SiteKey found in the page's source code

System.String siteUrl

The URL of the site to solve a reCaptcha for

Returns
Type Description
System.String

The g-recaptcha-response of the challenge

Overrides
CaptchaService.SolveRecaptcha(String, String)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX