Added information about software environment to the report.
authormoel.mich
Sat, 15 May 2010 15:52:08 +0000
changeset 1194ca4621553aa
parent 118 407f98562c3b
child 120 41dc766e28b8
Added information about software environment to the report.
Hardware/Computer.cs
     1.1 --- a/Hardware/Computer.cs	Sat May 15 14:16:00 2010 +0000
     1.2 +++ b/Hardware/Computer.cs	Sat May 15 15:52:08 2010 +0000
     1.3 @@ -171,6 +171,15 @@
     1.4          w.WriteLine();
     1.5  
     1.6          NewSection(w);
     1.7 +        w.Write("Common Language Runtime: ");
     1.8 +        w.WriteLine(Environment.Version.ToString());
     1.9 +        w.Write("Operating System: ");
    1.10 +        w.WriteLine(Environment.OSVersion.ToString());
    1.11 +        w.Write("Process Type: ");
    1.12 +        w.WriteLine(IntPtr.Size == 4 ? "32-Bit" : "64-Bit");
    1.13 +        w.WriteLine();
    1.14 +
    1.15 +        NewSection(w);
    1.16          foreach (IGroup group in groups) {
    1.17            foreach (IHardware hardware in group.Hardware)
    1.18              ReportHardwareTree(hardware, w, "");