diff -r 813d8bc3192f -r fa9dfbfc4145 Hardware/CPU/IntelCPU.cs --- a/Hardware/CPU/IntelCPU.cs Sun Aug 08 13:57:26 2010 +0000 +++ b/Hardware/CPU/IntelCPU.cs Thu Aug 12 20:53:27 2010 +0000 @@ -45,7 +45,7 @@ using System.Text; namespace OpenHardwareMonitor.Hardware.CPU { - internal class IntelCPU : Hardware, IHardware { + internal sealed class IntelCPU : Hardware, IHardware { private int processorIndex; private CPUID[][] cpuid; @@ -243,7 +243,10 @@ } public override Identifier Identifier { - get { return new Identifier("intelcpu", processorIndex.ToString()); } + get { + return new Identifier("intelcpu", + processorIndex.ToString(CultureInfo.InvariantCulture)); + } } public override HardwareType HardwareType { @@ -254,11 +257,11 @@ uint eax, edx; if (WinRing0.RdmsrTx(msr, out eax, out edx, (UIntPtr)(1L << thread))) { r.Append(" "); - r.Append((msr).ToString("X8")); + r.Append((msr).ToString("X8", CultureInfo.InvariantCulture)); r.Append(" "); - r.Append((edx).ToString("X8")); + r.Append((edx).ToString("X8", CultureInfo.InvariantCulture)); r.Append(" "); - r.Append((eax).ToString("X8")); + r.Append((eax).ToString("X8", CultureInfo.InvariantCulture)); r.AppendLine(); } }