Using System.IO.Packaging to ZIP your files(galratner.com)
submitted by
galratner(334) 1 year, 4 months ago
System.IO.Packaging provides storage support for multiple data objects in a single container. System.IO.Packaging uses the ZIP file format as its primary physical format for a Package. Other Package implementations might use an XML document, a database, or Web service.
The following contains a utility class I wrote to help zip a file or a folder into a ZIP archive. This is an asynchronous as is suitable for invoking from a WPF or a Silverlight Application when we need to display a progress bar. Here is the code:
|category: C#
|Views: 82
tags:
C# another
Everyones tags:
Your Tags: