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