static public bool IsNewVersionAvailable() { var web_version = Deployment.GetWebVersionInfo(); var exe_version = Deployment.GetLocalVersionInfo(); return(web_version != null && (exe_version == null || exe_version.Comparison(web_version) == CompareEnum.Less)); }