Esempio n. 1
0
        public bool CheckNewVersion()
        {
            if (sessions.Count > 0)
            {
                return(false);
            }

            // check file system
            string updateZip = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "update", "" +
                                            "nvs.7z");

            if (File.Exists(updateZip))
            {
                NewVersionAvailable.Set();
                return(true);
            }
            return(false);
        }