Show / Hide Table of Contents

Class DeCaptcher

Implements the API of http://de-captcher.com/

Inheritance
System.Object
CaptchaService
DeCaptcher
Inherited Members
CaptchaService.ApiKey
CaptchaService.User
CaptchaService.Pass
CaptchaService.Timeout
CaptchaService.TaskId
CaptchaService.Status
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 DeCaptcher : CaptchaService

Constructors

| Improve this Doc View Source

DeCaptcher(String, String, Int32)

Creates a DeCaptcher client.

Declaration
public DeCaptcher(string user, string pass, int timeout)
Parameters
Type Name Description
System.String user

The DeCaptcher username

System.String pass

The DeCaptcher password

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

SolveCaptcha(Bitmap)

Solves an image captcha challenge.

Declaration
public override string SolveCaptcha(Bitmap bitmap)
Parameters
Type Name Description
System.Drawing.Bitmap bitmap
Returns
Type Description
System.String

The text written in the image

Overrides
CaptchaService.SolveCaptcha(Bitmap)
| 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