Changeset 2182


Ignore:
Timestamp:
6/18/2010 9:59:24 AM (20 months ago)
Author:
lowjoel
Message:

Supplements r2170: some functions can be used when the drive is not mounted.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eraser6/6.0/Eraser.Util/VolumeInfo.cs

    r2176 r2182  
    424424            get 
    425425            { 
    426                 if (!IsReady) 
    427                     throw new InvalidOperationException("The volume has not been mounted or is not " + 
    428                         "currently ready."); 
    429  
    430426                ulong freeBytesAvailable, totalNumberOfBytes, totalNumberOfFreeBytes; 
    431427                if (KernelApi.NativeMethods.GetDiskFreeSpaceEx(VolumeId, out freeBytesAvailable, 
Note: See TracChangeset for help on using the changeset viewer.