public FileWithHeader InitFWH(string fileName, int userHeaderSize) { FileWithHeader fwh; try { fwh = new FileWithHeader(fileName, userHeaderSize); } catch (FileNameConflictException) { fwh = new FileWithHeader(fileName); fwh.Delete(); fwh = new FileWithHeader(fileName, userHeaderSize); } return(fwh); }
public void Delete() { _fileWithHeader.Delete(); }
public void Delete() { _file.Delete(); }