How to zip multiple files using only .net api in c#

前端 未结 9 1304
灰色年华
灰色年华 2020-12-01 09:04

I like to zip multiple files which are being created dynamically in my web application. Those files should be zipped. For this, i dont want to use any third-party tools. jus

9条回答
  •  借酒劲吻你
    2020-12-01 09:50

    Check out System.IO.Compression.DeflateStream. Youll find a couple of examples on msdn http://msdn.microsoft.com/en-us/library/system.io.compression.deflatestream.aspx

提交回复
热议问题