ZennoLab Assemblies Documentation
CaptchaSpecialRecognition Method (ZennoPoster)
Example 

Type: System.String

The path to DLL library.

Type: Zennolab.CommandCenter.Instance

The instance with captcha for recognition.

Type: System.Boolean

true if need async way to recognize; otherwise and default, false.

Recognizes the special captcha through the specified DLL library.
Syntax
public static string CaptchaSpecialRecognition( 
   string dllName,
   Instance instance,
   bool asyncRecognize
)

Parameters

dllName

Type: System.String

The path to DLL library.

instance

Type: Zennolab.CommandCenter.Instance

The instance with captcha for recognition.

asyncRecognize

Type: System.Boolean

true if need async way to recognize; otherwise and default, false.

Return Value

Type: System.String

The recognition result or id of async task.

Example
The following code example demonstrates uses of the CaptchaSpecialRecognition method.
public static int Execute(Instance instance)
{
    instance.ClearCookie();
 
    Tab tb = instance.MainTab;
    if ((tb.IsVoid) || (tb.IsNull)) return -1;
    if (tb.IsBusy) tb.WaitDownloading();
    tb.Navigate("http://lessons.zennolab.com/ru/advanced");
    if (tb.IsBusy) tb.WaitDownloading();
 
    ZennoPoster.CaptchaSpecialRecognition("KeyCaptcha.dll", instance);
             
    return 0;
}
public static function Execute($instance)
{
    $instance->ClearCookie();
 
    $tb = $instance->MainTab;
    if (($tb->IsVoid) || ($tb->IsNull)) return -1;
    if ($tb->IsBusy) $tb->WaitDownloading();
    $tb->Navigate("http://lessons.zennolab.com/ru/advanced");
    if ($tb->IsBusy) $tb->WaitDownloading();
    
    ZennoPoster::CaptchaRecognition("KeyCaptcha.dll", $instance);
     
    return 0;
}
Requirements

Target Platforms: Desktop: Windows XP SP3 and older. Server: Windows Server 2003 and older.

See Also

Reference

ZennoPoster Class
ZennoPoster Members
CaptchaRecognition Method
WaitCaptchaRecognition Method

Send Feedback