示例#1
0
        /// <summary>
        /// Check for program updates
        /// </summary>
        private async Task CheckForUpdatesAsync()
        {
            if (!SettingsService.IsCheckForUpdatedEnabled)
            {
                return;
            }

            IsUpdateAvailable = await _versionCheckService.GetUpdateStatusAsync();

            Debug.WriteLine($"Checked for updates ({(IsUpdateAvailable ? "update found" : "update not found")})",
                            GetType().Name);
        }