Hardware/CPU/AMD0FCPU.cs
changeset 166 fa9dfbfc4145
parent 165 813d8bc3192f
child 182 4801e9eaf979
     1.1 --- a/Hardware/CPU/AMD0FCPU.cs	Sun Aug 08 13:57:26 2010 +0000
     1.2 +++ b/Hardware/CPU/AMD0FCPU.cs	Thu Aug 12 20:53:27 2010 +0000
     1.3 @@ -37,10 +37,11 @@
     1.4  
     1.5  using System;
     1.6  using System.Collections.Generic;
     1.7 +using System.Globalization;
     1.8  using System.Text;
     1.9  
    1.10  namespace OpenHardwareMonitor.Hardware.CPU {
    1.11 -  internal class AMD0FCPU : Hardware, IHardware {
    1.12 +  internal sealed class AMD0FCPU : Hardware, IHardware {
    1.13  
    1.14      private string name;
    1.15  
    1.16 @@ -117,7 +118,10 @@
    1.17      }
    1.18  
    1.19      public override Identifier Identifier {
    1.20 -      get { return new Identifier("amdcpu", processorIndex.ToString()); }
    1.21 +      get { 
    1.22 +        return new Identifier("amdcpu", 
    1.23 +          processorIndex.ToString(CultureInfo.InvariantCulture)); 
    1.24 +      }
    1.25      }
    1.26  
    1.27      public override HardwareType HardwareType {