Ejemplo n.º 1
0
        public static string CheckUpdate()
        {
            string result = string.Empty;

            try
            {
                string updatePage = String.Empty;
                switch (Brand.Name)
                {
                case "Umax":
                {
                    updatePage = HTTPHelper.DownloadWebPage("http://umaxsoft.com/PrivateArea/Updater/UWP");
                    break;
                }
                }

                if (updatePage != String.Empty)
                {
                    //Parse version

                    //Parse url
                    //return true;
                }
            }
            catch (Exception)
            {
            }

            return(result);
        }