NineKwCaptchaHelperSolveCaptchaAsync Method
Asynchronouslly Solves the specified captcha image.
Namespace: DevCase.ThirdParty.NineKwCaptchaAssembly: DevCase.net48.ThirdParty.9KwCaptcha (in DevCase.net48.ThirdParty.9KwCaptcha.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public Task<string> SolveCaptchaAsync(
string imagePath,
int timeout = 120000
)
Public Function SolveCaptchaAsync (
imagePath As String,
Optional timeout As Integer = 120000
) As Task(Of String)
Dim instance As NineKwCaptchaHelper
Dim imagePath As String
Dim timeout As Integer
Dim returnValue As Task(Of String)
returnValue = instance.SolveCaptchaAsync(imagePath,
timeout)
public:
Task<String^>^ SolveCaptchaAsync(
String^ imagePath,
int timeout = 120000
)
member SolveCaptchaAsync :
imagePath : string *
?timeout : int
(* Defaults:
let _timeout = defaultArg timeout 120000
*)
-> Task<string>
No code example is currently available or this language may not be supported.
- imagePath String
-
The image path.
- timeout Int32 (Optional)
-
The maximum timeout, in milliseconds, to wait for a captcha to be solved.
The function returns if the timeout interval is exceed. Default value is 120000 (2 minutes).
TaskString
The solved captcha text.