C# Class hbehr.recaptcha.WebCommunication.GoogleWebPost

Inheritance: GoogleBaseWebPost, IReChaptaWebInterface
Afficher le fichier Open project: henriqb/ReCaptcha-Asp-Net

Méthodes publiques

Méthode Description
PostUserAnswer ( string response, string secretKey ) : ReCaptchaJsonResponse
PostUserAnswer ( string response, string secretKey, WebProxy proxy ) : ReCaptchaJsonResponse

Private Methods

Méthode Description
CreatePostWebRequest ( string postData, WebProxy proxy ) : WebRequest
GetAnswer ( WebRequest webRequest ) : ReCaptchaJsonResponse
ReadAnswerFromWebResponse ( WebResponse webResponse ) : string

Method Details

PostUserAnswer() public méthode

public PostUserAnswer ( string response, string secretKey ) : ReCaptchaJsonResponse
response string
secretKey string
Résultat ReCaptchaJsonResponse

PostUserAnswer() public méthode

public PostUserAnswer ( string response, string secretKey, WebProxy proxy ) : ReCaptchaJsonResponse
response string
secretKey string
proxy System.Net.WebProxy
Résultat ReCaptchaJsonResponse