/// <summary>
        /// check updates
        /// </summary>
        /// <returns></returns>
        public bool Runmain()
        {
            RegistryKey YCRO = Registry.CurrentUser.OpenSubKey(@"SOFTWARE\Autodesk\AutoCAD\R16.2\ACAD-4001:409\Applications\YCRO_Digital");

            path = YCRO.GetValue("LOADER");
            SoftUpdate app = new SoftUpdate(path.ToString(), "UpdateProgram.zip");

            if (app.IsUpdate)
            {
                return(true);
            }
            return(false);
        }
Example #2
0
 /// <summary>
 /// check updates
 /// </summary>
 /// <returns></returns>
 public bool Runmain()
 {
     RegistryKey YCRO = Registry.CurrentUser.OpenSubKey(@"SOFTWARE\Autodesk\AutoCAD\R16.2\ACAD-4001:409\Applications\YCRO_Digital");
     path = YCRO.GetValue("LOADER");
     SoftUpdate app = new SoftUpdate(path.ToString(), "UpdateProgram.zip");
     if (app.IsUpdate)
     {
         return true;
     }
     return false;
 }