System.IO.Compression

  • Thread starter Thread starter ad
  • Start date Start date
A

ad

Hi,
Can we create a standard .zip file with System.IO.Compression?

I have tried, but the files create by System.IO.Compression can't open in
xp!
 
I don't believe you can. The Compression classes provide zip - compatible
deflate algorithm, but I don't believe they include the ability to create
standard zip file headers / records that would be required, for example, by
Winzip or similar programs.
You can look around for sample code where some bright individual has
implemented same, or just use the open source ICSharpCode zip classes.
Peter
 
Back
Top