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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top