private async void CheckForUpdates() { try { var updaterResponse = await GithubAutoUpdater.ShouldUpdate( ownerName : "odedshimon", projectName : "bruteshark"); if (updaterResponse.ShouldUpdate) { var userResponse = Utilities.ShowInfoMessageBox( "New version of BruteShark is available!", MessageBoxButtons.YesNo); if (userResponse == DialogResult.Yes) { // Open the new version URL using the default browser. Process browserProcess = new Process(); browserProcess.StartInfo.UseShellExecute = true; browserProcess.StartInfo.FileName = updaterResponse.NewVersionUrl; browserProcess.Start(); } } } catch { } }