async public Task RefreshAsync()
        {
            IWuEndpoint endpoint;

            if (TryGetEndpoint(out endpoint))
            {
                try
                {
                    await endpoint.RefreshSettingsAsync();

                    var updates = await UpdateDescriptionViewModel.GetAvailableUpdatesAsync(endpoint, ModalService);

                    lock (_dataLock)
                    {
                        _autoSelectUpdates = endpoint.Settings.AutoSelectUpdates;
                        _autoAcceptEula    = endpoint.Settings.AutoAcceptEulas;
                        Updates            = updates;
                        Hostname           = endpoint.FQDN;
                    }
                    OnPropertyChanged(nameof(Hostname));
                    OnPropertyChanged(nameof(Updates));
                    OnPropertyChanged(nameof(AutoSelectUpdates));
                    OnPropertyChanged(nameof(AutoAcceptEulas));
                }
                catch (Exception e)
                {
                    ModalService.ShowMessageBox("Could not retrieve data: " + e.Message, Hostname, MessageType.Error);
                }
            }
            else
            {
                ModalService.ShowMessageBox("The service is not longer available.", Hostname, MessageType.Error);
            }
        }