public async Task CheckForUpdate()
        {
            try
            {
                var client  = new Octokit.GitHubClient(new ProductHeaderValue($"IntifaceGameHapticsRouter{_currentVersion}"));
                var release = await client.Repository.Release.GetLatest("intiface", "intiface-game-haptics-router");

                if (release.TagName != _currentVersion)
                {
                    Dispatcher.Invoke(() =>
                    {
                        if (MessageBox.Show("A new GHR update is available! Would you like to go to the update site?",
                                            "GHR Update",
                                            MessageBoxButton.YesNo,
                                            MessageBoxImage.Asterisk) == MessageBoxResult.Yes)
                        {
                            var link = new Hyperlink(
                                new Run("https://github.com/intiface/intiface-game-haptics-router/releases"))
                            {
                                NavigateUri =
                                    new Uri("https://github.com/intiface/intiface-game-haptics-router/releases")
                            };
                            link.RequestNavigate += Hyperlink_RequestNavigate;
                            link.DoClick();
                        }
                    });
                }
                UpdateCheckStatus.Text = $"Last Check at {DateTime.Now.ToString()}";
            }
            catch (Exception ex)
            {
                var log = LogManager.GetCurrentClassLogger();
                log.Error($"Cannot run update check: {ex.Message}");
            }
        }
        /// <summary>This type or member supports the Windows Presentation Foundation (WPF) infrastructure and is not intended to be used directly from your code.</summary>
        // Token: 0x060026F8 RID: 9976 RVA: 0x000B89EC File Offset: 0x000B6BEC
        void IInvokeProvider.Invoke()
        {
            if (!base.IsEnabled())
            {
                throw new ElementNotEnabledException();
            }
            Hyperlink hyperlink = (Hyperlink)base.Owner;

            hyperlink.DoClick();
        }
        //Invoke Pattern implementation
        void IInvokeProvider.Invoke()
        {
            if (!IsEnabled())
            {
                throw new ElementNotEnabledException();
            }

            Hyperlink owner = (Hyperlink)Owner;

            owner.DoClick();
        }
 protected override void OnClick()
 {
     base.OnClick();
     _hyperlink.DoClick();
 }