Method | Description | |
---|---|---|
GetBodyDivContent ( ) : string |
Returns the This method allows you to pass an arbitrary list of extra classes, regardless of what the current instance may contain. |
|
Validate ( |
Determines if the reCAPTCHA response in a If the returned Response is null, then a severe error occurred during the exchange. |
|
Validator ( string reCaptchaSecret, string reCaptchaSiteKey ) : System |
Creates a new instance of the Validator.
|
Method | Description | |
---|---|---|
GetPostParameters ( string reCaptchaFormResponse, string remoteIp = null ) : |
Returns the parameters to be placed within the post body of a validation message.
|
|
UploadRecaptchaResponse ( |
Uploads a request to the Google API for reCAPTCHA data to be validated.
|
protected GetPostParameters ( string reCaptchaFormResponse, string remoteIp = null ) : |
||
reCaptchaFormResponse | string | The response from the reCAPTCHA form. |
remoteIp | string | An optional IP to include as the origin of the reCAPTCHA form. |
return |
protected static UploadRecaptchaResponse ( |
||
postParameters | The parameters to send in the POST message. | |
return | string |
public Validate ( |
||
form | The Request.Form to validate. |
|
remoteIp | string | An optional IPAddress |
return | Response |
public Validator ( string reCaptchaSecret, string reCaptchaSiteKey ) : System | ||
reCaptchaSecret | string | The reCAPTCHA secret. |
reCaptchaSiteKey | string | The reCAPTCHA site key. |
return | System |