C# Class Subtext.Web.Controls.Captcha.InvisibleCaptcha

Simple CAPTCHA control that requires the browser to perform a simple calculation via javascript to pass.

If javascript is not enabled, a form is rendered asking the user to add two random small numbers, unless the Accessible property is set to false.

Inheritance: Subtext.Web.Controls.Captcha.CaptchaBase
Mostrar archivo Open project: ayende/Subtext Class Usage Examples

Private Properties

Property Type Description

Protected Methods

Method Description
GetClientSpecifiedAnswer ( ) : string
OnInit ( EventArgs e ) : void

Sets up a hashed answer.

OnPreRender ( EventArgs e ) : void

Raises the event.

Render ( System.Web.UI.HtmlTextWriter writer ) : void

Displays the control on the client.

Method Details

GetClientSpecifiedAnswer() protected method

protected GetClientSpecifiedAnswer ( ) : string
return string

OnInit() protected method

Sets up a hashed answer.
protected OnInit ( EventArgs e ) : void
e System.EventArgs
return void

OnPreRender() protected method

Raises the event.
protected OnPreRender ( EventArgs e ) : void
e System.EventArgs A that contains the event data.
return void

Render() protected method

Displays the control on the client.
protected Render ( System.Web.UI.HtmlTextWriter writer ) : void
writer System.Web.UI.HtmlTextWriter A that contains the output stream for rendering on the client.
return void