How can I go about getting disk utilization info in Windows 10 similar to the way Task Manager does?
I want to do these in order:
- Log to console
- Display in a widget or tray icon
End goal is to be able to throttle or shut down programs depending on average disk utilization over a specific period.
C# preferred C++ also acceptable
The accuracy is important, so if I need to use the same API as Task Manager that can be done.
note
I do not mean disk space utilization but read-write utilization.