I suggest you use Real-Time Zip for .NET, which will permit you to write your stream directly into a zip file.
You can find a sample on how to do this by going to Start -> All Programs -> Xceed Components -> Our Components In Action -> Xceed FileSystem Snippet Explorer.
Look at the “8. Real-Time Zip capabilities” topic.
There is also the “Task-Based Help” topic in the documentation that gives examples on how to use it.
Imported from legacy forums. Posted by André (had 365 views)