
Disk space free on a partition?
Something like this should work.
ManagementObject disk = new
ManagementObject("win32_logicaldisk.deviceid=\"C:\"");
Console.WriteLine("{0}", disk["FreeSpace"]);
Quote:
> How do I find out how much disk space is free on a partition/drive letter?
> I can't seem to find the the methods in any othe System.IO.* classes. I
> must be missing something. Thanx,
> - Chris