Changeset 2147 for trunk/eraser/Eraser.Util/VolumeInfo.cs
- Timestamp:
- 5/16/2010 10:54:11 AM (3 years ago)
- Location:
- trunk/eraser
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
Eraser.Util/VolumeInfo.cs (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/eraser
- Property svn:mergeinfo changed
/branches/eraser6/6.0 merged: 2146
- Property svn:mergeinfo changed
-
trunk/eraser/Eraser.Util/VolumeInfo.cs
r2140 r2147 330 330 if (driveType == DriveType.Network) 331 331 { 332 //Resolve the mountpoint to a UNC path 332 //If the current directory is a UNC path, then return the VolumeInfo instance 333 //directly 334 if (currentDir.Substring(0, 2) == "\\\\" && currentDir.IndexOf('\\', 2) != -1) 335 return new VolumeInfo(currentDir); 336 337 //Otherwise, resolve the mountpoint to a UNC path 333 338 uint bufferCapacity = (uint)volumeID.Capacity; 334 339 uint errorCode = NativeMethods.WNetGetConnection(
Note: See TracChangeset
for help on using the changeset viewer.
