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
Afficher le fichier Open project: ayende/Subtext Class Usage Examples

Private Properties

Свойство Type Description

Méthodes protégées

Méthode 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 méthode

protected GetClientSpecifiedAnswer ( ) : string
Résultat string

OnInit() protected méthode

Sets up a hashed answer.
protected OnInit ( EventArgs e ) : void
e System.EventArgs
Résultat void

OnPreRender() protected méthode

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

Render() protected méthode

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.
Résultat void