This class handles all registry values which are used from sparkle to handle update intervalls. All values are stored in HKCU\Software\Vendor\AppName which will be read ot from the assembly information. All values are of the REG_SZ type, no matter what their "logical" type is. The following options are available: CheckForUpdate - Boolean - Whether NetSparkle should check for updates LastCheckTime - time_t - Time of last check SkipThisVersion - String - If the user skipped an update, then the version to ignore is stored here (e.g. "1.4.3") DidRunOnce - Boolean - Check only one time when the app launched
상속: NetSparkle.NetSparkleConfiguration
예제 #1
0
 /// <summary>
 /// This method reads the local sparkle configuration for the given
 /// reference assembly
 /// </summary>
 /// <returns>the configuration</returns>
 public NetSparkleConfiguration GetApplicationConfig()
 {
     if (Configuration == null)
     {
         Configuration = new NetSparkleRegistryConfiguration(_appReferenceAssembly);
     }
     Configuration.Reload();
     return(Configuration);
 }
예제 #2
0
 /// <summary>
 /// This method reads the local sparkle configuration for the given
 /// reference assembly
 /// </summary>
 /// <returns>the configuration</returns>
 public NetSparkleConfiguration GetApplicationConfig()
 {
     if (Configuration == null)
     {
         Configuration = new NetSparkleRegistryConfiguration(_appReferenceAssembly);
     }
     Configuration.Reload();
     return Configuration;
 }