Changeset 2146 for branches/eraser6/6.0
- Timestamp:
- 5/16/2010 10:53:05 AM (3 years ago)
- File:
-
- 1 edited
-
branches/eraser6/6.0/Eraser.Util/VolumeInfo.cs (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/eraser6/6.0/Eraser.Util/VolumeInfo.cs
r2139 r2146 290 290 if (driveType == DriveType.Network) 291 291 { 292 //Resolve the mountpoint to a UNC path 292 //If the current directory is a UNC path, then return the VolumeInfo instance 293 //directly 294 if (currentDir.Substring(0, 2) == "\\\\" && currentDir.IndexOf('\\', 2) != -1) 295 return new VolumeInfo(currentDir); 296 297 //Otherwise, resolve the mountpoint to a UNC path 293 298 uint bufferCapacity = (uint)volumeID.Capacity; 294 299 uint errorCode = KernelApi.NativeMethods.WNetGetConnection(
Note: See TracChangeset
for help on using the changeset viewer.
