Free space info

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

In DriveInfo class there are two properties that return me the same value:

-AvailableFreeSpace
-TotalFreeSpace

What is the difference between them? when should i use each one?
 
VBA said:
In DriveInfo class there are two properties that return me the same value:

-AvailableFreeSpace
-TotalFreeSpace

What is the difference between them? when should i use each one?

AvailableFreeSpace takes into account user quotas (amount allotted to users,
so it's the available free space allotted to that user) while TotalFreeSpace
does not, which means TotalFreeSpace will give how much space is remaining
on the disk, even if the current user can't use that much (if quotas are
enabled).

HTH,

Mythran
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top