added more caching to SettingsBase, disabled some caching in Settings, implemented some

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2205 21ef857c-d57f-4fe0-8362-d861dc6d29cd
This commit is contained in:
wj32
2009-10-16 00:14:07 +00:00
parent 3807f849b2
commit db33515991
3 changed files with 236 additions and 361 deletions
+1 -2
View File
@@ -840,12 +840,11 @@ namespace ProcessHacker
info.AppendLine("Process Hacker " + Application.ProductVersion);
info.AppendLine("Process Hacker Build Time: " + Utils.GetAssemblyBuildDate(System.Reflection.Assembly.GetExecutingAssembly(), false));
info.AppendLine("Application Base: " + app.SetupInformation.ApplicationBase);
info.AppendLine("Configuration File: " + app.SetupInformation.ConfigurationFile);
info.AppendLine("CLR Version: " + Environment.Version.ToString());
info.AppendLine("OS Version: " + Environment.OSVersion.VersionString + " (" + OSVersion.BitsString + ")");
info.AppendLine("Elevation: " + ElevationType.ToString());
info.AppendLine("Working set: " + Utils.FormatSize(Environment.WorkingSet));
info.AppendLine("Settings file: " + Settings.Instance.SettingsFileName != null ? Settings.Instance.SettingsFileName : "(volatile)");
if (KProcessHacker.Instance == null)
info.AppendLine("KProcessHacker: not running");