I have a question, I'm new to C # and working with paths for the first time :(
I use the DotNetZip Library to zip my folder ... when I try to save it, it tries to save it in programfiles / iis and gives me an error, not to mention that it is not allowed to save it in this place .. what should I do? do to save it in the same directory, can anyone help :(
I'm doing something like
using (ZipFile zip = new ZipFile())
{
zip.AddDirectory(Mypath);
zip.Save("zippedfolder.zip");
}
I know that my question is quite simple and straightforward, but I don’t know how to work with it .. can someone help me? Did I miss something?
PS: If my question is unclear, let me know what I can explain again
Thank!
source
share