?????? XAR

Contents
[ Hide Show ]

?????

XAR � ?????????? ?????? ????????????? ? Mac OS. ?? ?????? ??????? ????? ????? ? ??????? Aspose.Zip ??? ??, ??? ? ?????? ??????.

Aspose.Zip ????? ????????? ?????? XAR ? ????????, ??????????? ? ??????? ? ??????? Zzib ? bzip2.

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

????????? ?????? ?????????? ????? XAR ? ????? ????????, ??????? ??????? Zlib.

1    FileInfo fi1 = new FileInfo("alice29.txt");
2    FileInfo fi2 = new FileInfo("asyoulik.txt");
3
4    using (var archive = new XarArchive(new XarZlibCompressionSettings()))
5    {
6        archive.CreateEntry("alice29.txt", fi1, false);
7        archive.CreateEntry("fields.c", fi2, false);
8        archive.Save(xarFile);
9    }

Subscribe to Aspose Product Updates

Get monthly newsletters & offers directly delivered to your mailbox.