Esempio n. 1
0
        private void updates_CheckFinished(object sender, UpdateCheckEventArgs e)
        {
            UpdateInfo foundUpdate = e.Result.HasValue ? e.Result.Value : null;

            if (nextUpdate != null && !nextUpdate.Equals(foundUpdate))
            {
                nextUpdate.DeleteInstaller();
            }

            nextUpdate = foundUpdate;
        }