Files
ReLibreHardwareMonitor/Hardware/IHardware.cs
T
LORDofDOOM 4ce099c5bf Add Network (NIC) support (updated) (#52)
* [Core] Add Network (NIC) support - All credits to XiaofengdiZhu (https://github.com/XiaofengdiZhu/openhardwaremonitor/commits/EditeByXiaofengdizhu)

* [Core] NIC: Rename InternetSpeed to Throughput, drop non physical devices (like loopback), fix alltime stats for adapter
2018-08-26 10:51:09 +02:00

50 lines
1011 B
C#

/*
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/.
Copyright (C) 2009-2011 Michael Möller <mmoeller@openhardwaremonitor.org>
*/
namespace OpenHardwareMonitor.Hardware {
public delegate void SensorEventHandler(ISensor sensor);
public enum HardwareType {
Mainboard,
SuperIO,
Aquacomputer,
CPU,
RAM,
GpuNvidia,
GpuAti,
TBalancer,
Heatmaster,
HDD,
NIC
}
public interface IHardware : IElement {
string Name { get; set; }
Identifier Identifier { get; }
HardwareType HardwareType { get; }
string GetReport();
void Update();
IHardware[] SubHardware { get; }
IHardware Parent { get; }
ISensor[] Sensors { get; }
event SensorEventHandler SensorAdded;
event SensorEventHandler SensorRemoved;
}
}