C# Class hbehr.recaptcha.WebCommunication.GoogleWebPostAsync

Inheritance: GoogleBaseWebPost, IReChaptaWebInterfaceAsync
显示文件 Open project: henriqb/ReCaptcha-Asp-Net

Public Methods

Method Description
PostUserAnswerAsync ( string response, string secretKey ) : Task
PostUserAnswerAsync ( string response, string secretKey, WebProxy proxy ) : Task

Private Methods

Method Description
CreatePostWebRequestAsync ( string postData, WebProxy proxy ) : Task
GetAnswerAsync ( WebRequest webRequest ) : Task
ReadAnswerFromWebResponseAsync ( Task webResponse ) : Task

Method Details

PostUserAnswerAsync() public method

public PostUserAnswerAsync ( string response, string secretKey ) : Task
response string
secretKey string
return Task

PostUserAnswerAsync() public method

public PostUserAnswerAsync ( string response, string secretKey, WebProxy proxy ) : Task
response string
secretKey string
proxy System.Net.WebProxy
return Task