C# Class App_Code.Controls.RecaptchaControl

The recaptcha control.
Inheritance: System.Web.UI.WebControls.WebControl, IValidator
Show file Open project: rasmuskl/ReSharperCourse

Private Properties

Property Type Description

Public Methods

Method Description
UpdateLog ( Comment comment ) : void

The update log.

Validate ( ) : void

The validate.

ValidateAsync ( string response, string challenge ) : bool

Validates the async.

Protected Methods

Method Description
OnInit ( EventArgs e ) : void

Raises the E:System.Web.UI.Control.Init event.

OnUnload ( EventArgs e ) : void

Raises the E:System.Web.UI.Control.Unload event.

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

Renders the control to the specified HTML writer.

RenderContents ( System.Web.UI.HtmlTextWriter output ) : void

Renders the contents.

Method Details

OnInit() protected method

Raises the E:System.Web.UI.Control.Init event.
protected OnInit ( EventArgs e ) : void
e System.EventArgs /// An object that contains the event data. ///
return void

OnUnload() protected method

Raises the E:System.Web.UI.Control.Unload event.
protected OnUnload ( EventArgs e ) : void
e System.EventArgs /// An object that contains event data. ///
return void

Render() protected method

Renders the control to the specified HTML writer.
protected Render ( System.Web.UI.HtmlTextWriter writer ) : void
writer System.Web.UI.HtmlTextWriter /// The object that receives the control content. ///
return void

RenderContents() protected method

Renders the contents.
protected RenderContents ( System.Web.UI.HtmlTextWriter output ) : void
output System.Web.UI.HtmlTextWriter /// The output. ///
return void

UpdateLog() public method

The update log.
public UpdateLog ( Comment comment ) : void
comment Comment /// The comment. ///
return void

Validate() public method

The validate.
public Validate ( ) : void
return void

ValidateAsync() public method

Validates the async.
public ValidateAsync ( string response, string challenge ) : bool
response string /// The response. ///
challenge string /// The challenge. ///
return bool