In the TwoCaptcha.Examples
directory, you will find files with examples of solving supported captcha types.
For the successful execution of some examples, it is necessary to update the parameters of the captcha being sent.
To run an example, follow these steps:
-
Open and build the project
Two Captcha.Examples.csproj
-
Navigate to the output directory.
-
Run the
TwoCaptcha.Examples.exe
file by passing two arguments. The first argument is the class name, which exactly matches the class name from the example. The second argument is theapikey
.Example command to run the
TencentExample.cs
file:TwoCaptcha.Examples.exe TencentExample 12345678abcd9012345678abcd901234
You can find the full list of supported examples in the Run.cs file.