Sample C# .net code for zipping a file using 7zip

后端 未结 5 1626
终归单人心
终归单人心 2020-12-19 09:30

I have installed 7-zip 4.65 on my machine at C:\\Program files. I want to use it in C# code to zip a file. The file name will be provided by the user dynamically. Can any on

5条回答
  •  感动是毒
    2020-12-19 09:51

    Or you can use the J# zip library (which is included in the .Net Framework) a sample: http://weblogs.asp.net/jgalloway/archive/2007/10/25/creating-zip-archives-in-net-without-an-external-library-like-sharpziplib.aspx

提交回复
热议问题