/// <summary> /// Cleans up the temp files used by the Inscriber. /// </summary> /// <returns>True if all files were deleted, false otherwise.</returns> public bool DeleteTempFiles() { #if REDO_IN_NETCORE if (null == this.tempFiles) { return(true); // no work to do } else { bool deleted = Common.DeleteTempFiles(this.TempFilesLocation, this); if (deleted) { ((IDisposable)this.tempFiles).Dispose(); this.tempFiles = null; // temp files have been deleted, no need to remember this now } return(deleted); } #endif return(true); }