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
+2 -2
View File
@@ -436,11 +436,11 @@ public sealed partial class MainForm : Form
switch (_throttleAtaUpdate.Value)
{
case true:
AtaStorage.ThrottleInterval = TimeSpan.FromSeconds(30);
StorageDevice.ThrottleInterval = TimeSpan.FromSeconds(30);
break;
case false:
AtaStorage.ThrottleInterval = TimeSpan.Zero;
StorageDevice.ThrottleInterval = TimeSpan.Zero;
break;
}
};