![]() |
Languages »
C# »
How To
License: The Code Project Open License (CPOL)
File Compression with ZipForge .NET LibraryBy satya rFile Compression with ZipForge .NET Library |
C# (C# 2.0, C# 3.0)
|
||||||||
|
Advanced Search Add to IE Search |
|
|
|
||||||||||||||||
Compression and De-Compression with ZipForge ZipForge.NET Library, Supported IDEs include Microsoft Visual Studio 2003, 2005.
ZipForge does more than just compress and decompress data. Lots of algorithms can be used to compress the data files. For ex: Ace128,Ace192,Ace256 etc. Creating and managing a zip file is easy.
Blocks of code should be set as style "Formatted" like this:
ComponentAce.Compression.ZipForge.ZipForge zip = new ComponentAce.Compression.ZipForge.ZipForge(); zip.EncryptionAlgorithm = ComponentAce.Compression.Archiver.EncryptionAlgorithm.Aes128; zip.FileName = "C:\\Download\\test.zip"; zip.Password = "satyarapelly"; zip.OpenArchive(System.IO.FileMode.Create); foreach (string inputFileName in inputFileNames) { zip.AddFiles(inputFileName); } zip.CloseArchive();
ComponentAce.Compression.ZipForge.ZipForge zip = new ComponentAce.Compression.ZipForge.ZipForge(); zip.FileName = "C:\\Download\\test.zip"; if (System.IO.File.Exists(zip.FileName)) zip.OpenArchive(System.IO.FileMode.Open); zip.BaseDir = textBox4.Text; zip.Password = textBox2.Text; zip.ExtractFiles("*.*"); zip.CloseArchive();by Satya Rapelly
| You must Sign In to use this message board. | ||||||||
|
||||||||
|
||||||||
|
||||||||
|
||||||||
General
News
Question
Answer
Joke
Rant
Admin
|
PermaLink |
Privacy |
Terms of Use
Last Updated: 15 Dec 2007 Editor: |
Copyright 2007 by satya r Everything else Copyright © CodeProject, 1999-2009 Web18 | Advertise on the Code Project |