Exemple #1
0
        internal UpdateManager()
        {
            Log.Info("Loading config values");

            var ass = Assembly.GetEntryAssembly();
            var execonfig = ConfigurationManager.OpenExeConfiguration(ass.Location);
            Config = (execonfig.GetSection("UpdateManagerConfig") as UpdateManagerConfig)
                         ?? new UpdateManagerConfig();
            Log.Info("Setting Update Frequency: " + Config.UpdateFrequency);
            Log.Info("Setting Update Feed: " + Config.UpdateFeed);
        }
Exemple #2
0
        internal UpdateManager()
        {
            Log.Info("Loading config values");

            var ass       = Assembly.GetEntryAssembly();
            var execonfig = ConfigurationManager.OpenExeConfiguration(ass.Location);

            Config = (execonfig.GetSection("UpdateManagerConfig") as UpdateManagerConfig)
                     ?? new UpdateManagerConfig();
            Log.Info("Setting Update Frequency: " + Config.UpdateFrequency);
            Log.Info("Setting Update Feed: " + Config.UpdateFeed);
        }