private bool ProcessEpub(string spath) { try { CEpubZip oEpubFile = new CEpubZip(spath); Console.Write(spath); List <string> oList = oEpubFile.FindUrlsList(); if (oList.Count > 0) { foreach (var VARIABLE in oList) { oSaveFile.Write(VARIABLE); } return(true); } oSaveFile.WriteLog(spath, "error.log"); return(false); } catch (Exception ex) { oSaveFile.WriteLog(spath, "error.log"); oSaveFile.WriteLog(ex.Message, "error.log"); return(false); } }
public List <string> FindUrlsList() { CEpubZip oEpubZip = new CEpubZip(msFilePath); foreach (var e in oEpubZip.ReturnEpubContents()) { SearchEntry(e); } return(_urList); }