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

后端 未结 5 1617
终归单人心
终归单人心 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:50

    Instead of the binary version you need the source code.

    This can be get as the LZMA SDK.

    There you'll find a folder CS that contains a C# implementation of the algorithm for 7zip files.

提交回复
热议问题