You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
try
{
var rootDirectory = Directory.GetDirectoryRoot(Environment.GetFolderPath(Environment.SpecialFolder.Personal));
var driveInfo = new DriveInfo(rootDirectory);
if (driveInfo.AvailableFreeSpace < 3L * 1000L * 1000L * 1000L)
{
;
// Fail
}
}
catch
{
// Do nothing if we couldn't determine the drive
}
In theory, this might work on unix platforms as well.
The text was updated successfully, but these errors were encountered:
In theory, this might work on unix platforms as well.
The text was updated successfully, but these errors were encountered: