GUI RootDriveInfo per type

This commit is contained in:
2023-09-06 09:47:37 +02:00
parent 67484ba56b
commit ef88885d40
5 changed files with 139 additions and 89 deletions

View File

@@ -20,6 +20,8 @@ public partial class RootDriveInfo
[Notify] private long _free;
[Notify] private long _used;
public DriveType DriveType => _driveInfo.DriveType;
public long UsedPercentage => Size == 0 ? 0 : Used * 100 / Size;