added OS Version string caching, removed duplicate OSVersion functions from TaskDialog

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2268 21ef857c-d57f-4fe0-8362-d861dc6d29cd
This commit is contained in:
dmex04
2009-10-18 09:04:28 +00:00
parent e8f6301949
commit 7a50523650
4 changed files with 8 additions and 28 deletions
+1 -1
View File
@@ -890,7 +890,7 @@ namespace ProcessHacker
info.AppendLine("Process Hacker " + Application.ProductVersion);
info.AppendLine("Process Hacker Build Time: " + Utils.GetAssemblyBuildDate(System.Reflection.Assembly.GetExecutingAssembly(), false).ToString(System.Globalization.DateTimeFormatInfo.InvariantInfo));
info.AppendLine("CLR Version: " + Environment.Version.ToString());
info.AppendLine("OS Version: " + Environment.OSVersion.VersionString + " (" + OSVersion.BitsString + ")");
info.AppendLine("OS Version: " + OSVersion.VersionString + " (" + OSVersion.BitsString + ")");
info.AppendLine("Elevation: " + ElevationType.ToString());
info.AppendLine("Working set: " + Utils.FormatSize(Environment.WorkingSet));