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 hibernate @any-related annotations?

why does floated <input> control floated component slip over too distant right ie7, nonetheless firefox?