C# 클래스 hbehr.recaptcha.ReCaptcha

파일 보기 프로젝트 열기: henriqb/ReCaptcha-Asp-Net

공개 메소드들

메소드 설명
Configure ( string publicKey, string secretKey, ReCaptchaLanguage defaultLanguage = null ) : void
GetCaptcha ( ReCaptchaLanguage language = null ) : IHtmlString
ResetConfiguration ( ) : void
ValidateCaptcha ( string response, WebProxy proxy = null ) : bool
ValidateCaptchaAsync ( string response, WebProxy proxy = null ) : Task

메소드 상세

Configure() 공개 정적인 메소드

public static Configure ( string publicKey, string secretKey, ReCaptchaLanguage defaultLanguage = null ) : void
publicKey string
secretKey string
defaultLanguage ReCaptchaLanguage
리턴 void

GetCaptcha() 공개 정적인 메소드

public static GetCaptcha ( ReCaptchaLanguage language = null ) : IHtmlString
language ReCaptchaLanguage
리턴 IHtmlString

ResetConfiguration() 공개 정적인 메소드

public static ResetConfiguration ( ) : void
리턴 void

ValidateCaptcha() 공개 정적인 메소드

public static ValidateCaptcha ( string response, WebProxy proxy = null ) : bool
response string
proxy System.Net.WebProxy
리턴 bool

ValidateCaptchaAsync() 공개 정적인 메소드

public static ValidateCaptchaAsync ( string response, WebProxy proxy = null ) : Task
response string
proxy System.Net.WebProxy
리턴 Task