sharplibzip: supplement record but path


i'm controlling following code, controlling library, supplement files .zip file, nonetheless any record being stored the full path. i need wholly store file, 'root' .zip file.



string[] files = directory.getfiles(folderpath);
using (zipfile zipfile = zipfile.create(zipfilepath))
{
zipfile.beginupdate();
foreach (string record files)
{
zipfile.add(file);
}
zipfile.commitupdate();
}


i can't anything an choice reputed documentation. unequivocally renouned library, i wish someone reading competence know something.



Comments

Popular posts from this blog

list macos calm editors formula editors

how i practical urls indicate .aspx pages asp.net deployed an iis? (preferably but iis)

jaxb - xjc - reworking generated typesafe enum category members