Files
ReLibreHardwareMonitor/Hardware/HDD/StorageInfo.cs
T
Aqua Computer db51d7f509 NVMe and HDD Refactoring (#107)
With help from @aquacomputer and @nickbabcock.
2019-09-09 15:10:32 +02:00

34 lines
948 B
C#

// Mozilla Public License 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) LibreHardwareMonitor and Contributors
// All Rights Reserved
using OpenHardwareMonitor.Interop;
namespace OpenHardwareMonitor.Hardware.HDD {
internal abstract class StorageInfo {
public Kernel32.StorageBusType BusType { get; protected set; }
public string DeviceId { get; set; }
public ulong DiskSize { get; set; }
public int Index { get; protected set; }
public string Name => (Vendor + " " + Product).Trim();
public string Product { get; protected set; }
public byte[] RawData { get; protected set; }
public bool Removable { get; protected set; }
public string Revision { get; protected set; }
public string Scsi { get; set; }
public string Serial { get; protected set; }
public string Vendor { get; protected set; }
}
}