Aks
Aks

Reputation: 5236

C# SharpZipLib write a file directly into zip

my process needs to create a zip file with a large number of files(that are also created by the process). Instead of having to create temporary files, zipping them and then deleting, can I directly add files into a zip file?

Upvotes: 1

Views: 1127

Answers (1)

tafa
tafa

Reputation: 7326

Yes, you can. But the performance of it will be poor compared to direct file creation. Anyway, SharpDevelop Wiki has examples.

Upvotes: 2

Related Questions