Пример #1
0
        private async Task loadReCapcha()
        {
            this.sp_ReCaptcha.Visibility = Visibility.Visible;
            this.img_ReCaptcha.Source    = null;
            this.tb_ReCaptcha.Text       = "";
            try
            {
                this.recap = await ReCaptcha.FetchAsync();

                this.img_ReCaptcha.Source = new BitmapImage(this.recap.ImageUri);
            }
            catch (Exception ex)
            {
                this.tb_info.Text = ex.GetMessage();
            }
        }