Release version 0.1.5. Added support for AMD family 0Fh CPUs. Fixed saving of wrong window size values for minimized forms (by not saving them).
2 using System.Collections.Generic;
6 namespace OpenHardwareMonitor.Hardware {
7 public class ReportWriter {
9 private static void NewSection(TextWriter writer) {
10 for (int i = 0; i < 8; i++)
11 writer.Write("----------");
16 public static void Save(List<IGroup> groupList, Version version) {
19 new StreamWriter("OpenHardwareMonitor.Report.txt")) {
22 w.WriteLine("Open Hardware Monitor Report");
25 w.Write("Version: "); w.WriteLine(version.ToString());
28 foreach (IGroup group in groupList) {
29 string report = group.GetReport();
35 IHardware[] hardwareArray = group.Hardware;
36 foreach (IHardware hardware in hardwareArray) {
37 string hardwareReport = hardware.GetReport();
38 if (hardwareReport != null) {
40 w.Write(hardwareReport);