ReCaptchaReciever
Reciever to communicate with the HTTP server with extended resize functions.
Type: Class 
Namespace: ReCaptcha.Desktop.WinForms.Client
Assembly: ReCaptcha.Desktop.WinForms
public class ReCaptchaReciever
Constructors
Creates a new ReCaptchaReciever.
public ReCaptchaReciever()
Properties
VerificationRecieved
Fires when verifcation was recieved from the HTTP server.
Type: EventHandler<VerificationRecievedEventArgs>?
Modifier: event
VerificationCancelled
Fires when verifcation was cancelled from the HTTP server.
Type: EventHandler<VerificationCancelledEventArgs>?
Modifier: event
ReCaptchaResized
Fires when Google reCAPTCHA widget gets resized.
Type: EventHandler<ReCaptchaResizedEventArgs>?
Modifier: event
Methods
SetWebView
Set the targeted CoreWebView for the ReCaptchaReciever.
public void SetWebView(
    CoreWebView2 coreWebView)
| Parameter | Description | 
|---|---|
| CoreWebView2coreWebView | The WebView to hook the web message events. | 
WaitAsyc
Asynchronously waits until a token was sent by the HTTP server.
Returns: A Google reCAPTCHA token.
public Task<string> WaitAsyc(
    CancellationToken cancellationToken)
| Parameter | Description | 
|---|---|
| CancellationTokencancellationToken | The token to cancel this action. |