Example #1
0
        private static void GetDiskFreeSpace(string path, out ulong availableFreeSpace, out ulong totalSize, out ulong totalFreeSpace)
        {
            MonoIOError error;

            if (!DriveInfo.GetDiskFreeSpaceInternal(path, out availableFreeSpace, out totalSize, out totalFreeSpace, out error))
            {
                throw MonoIO.GetException(path, error);
            }
        }