TOTALFREESPACE和AvailableFreeSpace之间的区别是什么 [英] What is the difference between TotalFreeSpace and AvailableFreeSpace

查看:1185
本文介绍了TOTALFREESPACE和AvailableFreeSpace之间的区别是什么的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

无法理解之间的差异 TOTALFREESPACE AvailableFreeSpace

解决方案

DriveInfo.TotalFreeSpace 文档和的 DriveInfo.AvailableFreeSpace 分别告诉你:

  

答记者问( TOTALFREESPACE

     

该属性表示可用空间总量的驱动器上,而不仅是提供给当前用户。

  

答记者问( AvailableFreeSpace

     

该属性表示可用空间的驱动器上的金额。注意,这个数目可以是从<不同href="http://msdn.microsoft.com/en-us/library/system.io.driveinfo.totalfreespace.aspx">TotalFreeSpace一些因为这个属性考虑到了磁盘配额。

Unable to understand the difference between TotalFreeSpace and AvailableFreeSpace

解决方案

The documentation on DriveInfo.TotalFreeSpace and on DriveInfo.AvailableFreeSpace tell you respectively:

Remarks (TotalFreeSpace)

This property indicates the total amount of free space available on the drive, not just what is available to the current user.

Remarks (AvailableFreeSpace)

This property indicates the amount of free space available on the drive. Note that this number may be different from the TotalFreeSpace number because this property takes into account disk quotas.

这篇关于TOTALFREESPACE和AvailableFreeSpace之间的区别是什么的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆