/// <summary> /// Version check has been done, show results. /// </summary> private void ProcessVersionCheckResult(VersionCheckResult result) { if ((result == null) || (!result.Succeeded)) { return; } var currentVersion = GetType().Assembly.GetName().Version; if (result.LatestVersion > currentVersion) { lbVersion.Text += " NEW VERSION AVAILABLE"; } }
/// <summary> /// Version check has been done, show results. /// </summary> private void ProcessVersionCheckResult(VersionCheckResult result) { if ((result == null) || (!result.Succeeded)) return; var currentVersion = GetType().Assembly.GetName().Version; if (result.LatestVersion > currentVersion) { lbVersion.Text += " NEW VERSION AVAILABLE"; } }