private void Window_Loaded(object sender, EventArgs e) { Task.Run(() => updater.AutomaticallyCheckLastVersionAsync()); }