BetterExplorer.MainWindow.UpdaterWorker_DoWork C# (CSharp) Method

UpdaterWorker_DoWork() private method

Updates the application on a separate thread if and only if it is needed then updates LastUpdateCheck to DateTime.Now
private UpdaterWorker_DoWork ( object sender, DoWorkEventArgs e ) : void
sender object
e DoWorkEventArgs
return void
		private void UpdaterWorker_DoWork(object sender, DoWorkEventArgs e) {
			this._IsCheckUpdateFromTimer = true;
			Dispatcher.BeginInvoke(System.Windows.Threading.DispatcherPriority.Normal,
				(Action)(() => {
					autoUpdater.ForceCheckForUpdate(true);
				}));

			Utilities.SetRegistryValue("LastUpdateCheck", DateTime.Now.ToBinary(), RegistryValueKind.QWord);
			LastUpdateCheck = DateTime.Now;
		}
MainWindow