Example #1
0
 public void Cleanup(string filename, DokanFileInfo info)
 {
     lock (_syncObj)
     {
         FileHandle handle = info.Context as FileHandle;
         if (handle != null)
         {
             handle.Cleanup();
         }
     }
 }
Example #2
0
 public int Cleanup(string filename, DokanFileInfo info)
 {
     lock (_syncObj)
     {
         FileHandle handle = (FileHandle)info.Context;
         if (handle != null)
         {
             handle.Cleanup();
         }
         return(DokanNet.DOKAN_SUCCESS);
     }
 }