ASP CAPTCHA: LanapBotDetect Component
BotDetect ASP CAPTCHA is implemented as LanapBotDetect – a COM Component that creates and validates image and sound CAPTCHAs, which can easily be used from ASP scripts to implement ASP CAPTCHA functionality.
Public Instance Properties |
||
|---|---|---|
![]() |
CodeLength | Length (number of characters) of the random code used for CAPTCHA generation. The default length is 5 characters. |
![]() |
CodeType | The type of random code used for CAPTCHA generation. Valid values are numeric representations of the LanapBotDetect::CodeTypeEnum members. The default value is 0 (AlphaNumeric). |
![]() |
Format | The image format in which CAPTCHA images will be rendered. Valid values are: 'Jpeg', 'Gif', 'Bmp', 'Png'. The default value is 'Jpeg'. |
![]() |
ImageWidth | Width of the CAPTCHA image rendered (in pixels). The default value is 250. |
![]() |
ImageHeight | Height of the CAPTCHA image rendered (in pixels). The default value is 50. |
![]() |
TextStyle | The text style (distortion algorithm) used for CAPTCHA image generation. Valid values are numeric representations of the LanapBotDetect::TextStyleEnum members. The default value is 31 (ChalkBoard). |
Public Instance Methods |
||
![]() |
CreateImage | Returns a new CAPTCHA image showing a randomly generated code, using the currently set image format. |
![]() |
GetValue | Returns the random code rendered in the current CAPTCHA image. |
![]() |
CreateSoundFromCode
|
Returns an audio CAPTCHA (in the WAV format) containing a spoken version of the given CAPTCHA code. |
![]() |
GetHashValue | Returns the hashed value of the code rendered in the current CAPTCHA image. |
![]() |
Validate
|
Compares the hash of the code sent by argument with the hashed code used to generate the CAPTCHA image. |
Current BotDetect Versions
- BotDetect ASP.NET CAPTCHA v2.0.152009–11–23
- BotDetect ASP CAPTCHA v2.0.92009–02–12







