diff -r ba64bb91ebe4 -r 39f73ac8c2f4 WMIProvider/Hardware.cs --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/WMIProvider/Hardware.cs Sat Oct 16 13:29:06 2010 +0000 @@ -0,0 +1,19 @@ +using System.Management.Instrumentation; +using OpenHardwareMonitor.Hardware; + +namespace OpenHardwareMonitor.WMIProvider { + [InstrumentationClass(InstrumentationType.Instance)] + public class Hardware : IWmiClass { + public string HardwareType { get; private set; } + public string Identifier { get; private set; } + public string Name { get; private set; } + + public Hardware(IHardware hardware) { + Name = hardware.Name; + Identifier = hardware.Identifier.ToString(); + HardwareType = hardware.HardwareType.ToString(); + } + + public void Update() { } + } +}