I forgot the WinAPI call to find out how much space is left on a particular drive, and pinvoke.net does not give me any love. This is a compact framework, by the way, so I draw coredll.dll.
Can someone with a better memory go for a run?
GetDiskFreeSpaceEx . These are links to the pinvoke.net desktop page; just replace kernel32with coredll.
kernel32
coredll
Unfortunately System.IO.DriveInfonot in the Compact Framework. This is not entirely suitable for the pristine Windows CE Unix tree.
System.IO.DriveInfo