Replace Storage implementation with CrystalDiskInfo based implementation (#2015)

* Replace Storage implementation with CrystalDiskInfo based implementation.

* Formatting.

* Code review.

* Code review.

* Increase space for attribute name in report.

* Implement dynamic disk handling for usage sensor.

Disable unused warnings.

* Further cleanup in NativeMethods.txt and referenced.
This commit is contained in:
Blacktempel
2025-11-08 10:53:43 +01:00
committed by GitHub
parent 517794ce53
commit c542e856d4
39 changed files with 2247 additions and 3799 deletions
@@ -50,8 +50,10 @@ internal class MemoryGroup : IGroup, IHardwareChanged
}
}
#pragma warning disable 67
public event HardwareEventHandler HardwareAdded;
public event HardwareEventHandler HardwareRemoved;
#pragma warning restore 67
public IReadOnlyList<IHardware> Hardware => _hardware;