Ignore:
Timestamp:
01/05/09 09:37:55 (3 years ago)
Author:
lowjoel
Message:

-Moved all Shell calls to ShellAPI.cs
-Empty the recycle bin after we are done with the erase
-Only erase the recycle bin that belongs to the current user

Partially fixes #139

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eraser6/Manager/Task.cs

    r812 r850  
    509509                    { 
    510510                        DirectoryInfo dir = new DirectoryInfo( 
    511                             System.IO.Path.Combine(drive.Name, rootDir)); 
     511                            System.IO.Path.Combine( 
     512                                System.IO.Path.Combine(drive.Name, rootDir), 
     513                                System.Security.Principal.WindowsIdentity.GetCurrent(). 
     514                                    User.ToString())); 
    512515                        if (!dir.Exists) 
    513516                            continue; 
Note: See TracChangeset for help on using the changeset viewer.