public bool CreateZip(string ZipFileName){try{Create an empty zip filebyte[] ZipFolder = new byte[]{100,75,50,16,10,5,8,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};FileStream fs = File.Create(ZipFileName);fs.Write(ZipFolder , 0, ZipFolder.Length);fs.Flush();fs.Close();fs = null;}catch(Exception ignore){}return tru...
How to open a zip file using C# ?
#region Namespaceusing Shell32;#endregionnamespace TestApplicationToZip{class ZipApplication{public static void Main(string[] args){Create the object of shell.Shell sh = new Shell();Create a namespace and folderItem for the existing folder path.Folder ShellFolder = sh.NameSpace("D:\\saurabh.zip");Folder DirectoryFolder = sh.NameSpace("D:\\Unzipped...