I am writing a small windows forms application.. one of the tasks is to zip all files within a particular folder. the zip file should be named as the same as the folder name. and i should then be able to transfer this zip file to a different pre-defined location.
Folder name : Folder1. in the following location C:\Test\Folder1
It contains the following files..
File1, File2, File3, File4, File5
Now i Need to compress/zip the 5 files in the folder and name it Folder1.zip (the same name as the folder name)
I then need to transfer Folder1.zip to say.. D:\Storage\ folder
I dont want to use any 3 pary software like winzip to achieve this.. However i hear that there is a new windows library called System.IO.Compression but i have'nt tried using it.. is it worth a try??
I'm using C# 2.0
Any help in this regard will be highly appreciated