Skip to main content
A newer version of this page is available. .

CaptchaExtension Members

Represents an extension object implementing the Captcha functionality.

Constructors

Name Description
CaptchaExtension(CaptchaSettings, ViewContext) Initializes a new instance of the CaptchaExtension class with the specified settings and provides the context information about the view.
CaptchaExtension(CaptchaSettings) Initializes a new instance of the CaptchaExtension class with the specified settings.

Methods

Name Description
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetCode(String) static Gets the textual representation of the code automatically generated by Captcha and displayed within the challenge image.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetHtml() Inserts the HTML code rendered by an extension into the required page output. Inherited from ExtensionBase.
GetIsValid(String) static Gets a value that indicates whether the text entered into the text box coincides with the automatically generated code displayed within the challenge image.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
Render() Renders the extension’s HTML code to the Response. Inherited from ExtensionBase.
ToString() Returns a string that represents the current object. Inherited from Object.
See Also