Get the cluster size of a disk in C#--Get error on 'GetDiskFreeSpace'
问题 I am trying to get the cluster size of a disk in C#. Everything I have found says to use "GetFreeDiskSpace," but I can't get it to work. It appears as if I am missing a using or something. When I Google the The name 'GetDiskFreeSpace' does not exist in the current context it brings up everything except for this specific error. If I do an exact phrase search, Google says nothing is found and then displays the non-exact phrase search results. I am trying to determine where the GetFreeDiskSpace