- Timestamp:
- 5/16/2010 11:14:29 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/eraser/Eraser.DefaultPlugins/FileSystems/Windows.cs
r2032 r2149 137 137 processStr.AppendFormat( 138 138 System.Globalization.CultureInfo.InvariantCulture, 139 "{0}, ", (System.Diagnostics.Process.GetProcessById(handle.ProcessId)).MainModule.FileName);139 "{0}, ", handle.Process.MainModule.FileName); 140 140 } 141 141 catch (System.ComponentModel.Win32Exception) … … 143 143 processStr.AppendFormat( 144 144 System.Globalization.CultureInfo.InvariantCulture, 145 "Process ID {0}, ", handle.Process Id);145 "Process ID {0}, ", handle.Process.Id); 146 146 } 147 147 } … … 205 205 throw new InvalidOperationException(S._("Could not erase cluster tips in {0} " + 206 206 "as the volume is not mounted.", info.VolumeId)); 207 ListFiles( new DirectoryInfo(info.MountPoints[0]), files, searchCallback);207 ListFiles(info.MountPoints[0], files, searchCallback); 208 208 209 209 //For every file, erase the cluster tips. … … 279 279 try 280 280 { 281 foreach ( string iin file.GetADSes())282 files.Add( file.FullName + ':' + i);281 foreach (StreamInfo stream in file.GetADSes()) 282 files.Add(stream.FullName); 283 283 284 284 files.Add(file.FullName);
Note: See TracChangeset
for help on using the changeset viewer.
