Software Development Network>> Visual C#>> how to convert text file to zip file through C# code
hi
is it possible to convert the .txt file to .zip file through c# .net code
A great free library is #Zip, or the creator of the free C# IDE, #develop.
.NET Framework 2.0 has introduced GZipStream and DeflateStream classes for compression and decompression of streams. Here are links on MSDN:
http://msdn2.microsoft.com/en-us/library/system.io.compression.gzipstream(VS.80).aspx
http://msdn2.microsoft.com/en-US/library/system.io.compression.deflatestream(VS.80).aspx
how to convert text file to zip file through C# code
fan2005
A great free library is #Zip, or the creator of the free C# IDE, #develop.
.NET Framework 2.0 has introduced GZipStream and DeflateStream classes for compression and decompression of streams. Here are links on MSDN:
http://msdn2.microsoft.com/en-us/library/system.io.compression.gzipstream(VS.80).aspx
http://msdn2.microsoft.com/en-US/library/system.io.compression.deflatestream(VS.80).aspx