private void Tick(object state) { lock (Timer) { LatestDetails.UpdateInfo(); if (LatestDetails.CanUpdate) { DownloadLatestVersion(); if (LatestDetails.UpdateDownloaded) { FireOnUpdateAvailable(); } } } }
private void Tick(object state) { Log.Info("Waiting to tick"); lock (Timer) { Log.Info("Ticking"); LatestDetails.UpdateInfo(); if (LatestDetails.CanUpdate) { DownloadLatestVersion(); if (LatestDetails.UpdateDownloaded) { FireOnUpdateAvailable(); } } } }