Hi I am trying to create a zip folder in c#.
This is my destination where I need to have my zip. string zippath = @"C:\Neenu\Download"; Below is my code to convert it as ZIP.
ZipFile.CreateFromDirectory(@"" + startPath, @"" + zippath);
My start path is
C:\\Users\\spfarm\\AppData\\Local\\Temp\\1neplbgk.qj3\\ilty Management System -SCM-2016-39.docx
I am getting error as access to path is denied. Any help would be appreciated. Thank you.