??????? ??????????? ????? 7z

?????

API Aspose.ZIP ????????? ????????? ????? 7z, ??????????? ?? ????????? ?????? (?????).�API Aspose.ZIP ????????????? ????? SaveSplit ??? ???????? ?????? ??????.�

???????? ?????????? ??????

??????????? SplitSevenZipArchiveSaveOptions ??????? ??? ?????????: ??? ????? ??? ?????? ????? ? ?????? ????. ?????? ????? ????? ?????????? .7z.001, .7z.002, .7z.003…. ????????? ??? ?????? ?????? ????????.

????????? ??????????? ?????

? ????????? ??????? ???? ????????, ??? ????????? ??????????? ????? 7z ?? 65536 ???? ?????? ????????, ????????, ?? ??????????? ??????????. ????? ?????? ?????: part.7z.001, part.7z.002, part.7z.003, …

1    FileInfo fi1 = new FileInfo("alice29.txt");
2    FileInfo fi2 = new FileInfo("picture.png");
3
4    using (SevenZipArchive archive = new SevenZipArchive(new SevenZipEntrySettings(new SevenZipPPMdCompressionSettings())))
5    {
6        archive.CreateEntry("alice29.txt", fi1);
7        archive.CreateEntry("picture.png", fi2);
8        archive.SaveSplit(@"C:\Folder",  new SplitSevenZipArchiveSaveOptions("part", 65536));
9    }

??????????? ????? 7z ????????? ???????????? ?????????? ? ????? ????? ??????, ??? ? ??????? ????? 7z.

Subscribe to Aspose Product Updates

Get monthly newsletters & offers directly delivered to your mailbox.