Function VolumeInfo.bytesAvailable

Free space available for the current user. This is what most tools and GUI applications show as free space.

long bytesAvailable() nothrow @property @trusted;

Returns

number of free bytes available for the current user or -1 if could not determine the number.