Windows ???? ?? ????
C#? ?? ???? Windows ??? ???? ??
???? ??? ????? ???? ?? ??? ?? ??? ??? ??? ????? ??? ?? ???? ?? ? ?? ???????? ??? ?????. Windows ?????? ZIP, 7z, RAR, CAB ? WIM? ?? ????? ???? ???? ??? ? ??? ????? ?? ?? ?? ? ??? ??? ?? ??? ???? ?????.
.NET? Aspose.Zip? ???? ???? ??, ?? ? ?? ?? ??? ???? C# ???? ??? ?? ???? ???? ???? ???? ??? ? ????. ? ????? ???? Windows ??? ????? ???? ??? ???? .NET? Aspose.Zip? ???? ??? ?????.
ZIP ????: ?? ?? ???? ??
ZIP ??? ?? ????? ?? ? ??? ?? ???? ???? ?? ? ?????. ????? ??? ???? ??? ?? ????? ?? ? ?????. .NET? Aspose.Zip? ???? ???? ZIP ????? ?? ??, ?? ? ??? ? ????.
1 using (Archive archive = new Archive())
2 {
3 archive.CreateEntry("first.bin", "data1.bin");
4 archive.CreateEntry("second.bin", "data2.bin");
5 // Add as many entries as you need
6 archive.Save("archive.zip");
7 }CAB ????: Windows ??? ??
CAB(???) ????? ????? ?? ? ??? ?? ???? ?? ???? ?? Windows ???? ?????. .NET? Aspose.Zip? ???? ???? ?? CAB ??? ?? ??? ? ????. CAB ??? ?? ??? ???? ? ????? ??? ??? ???? ??? ?? ?? ? ?? ???? ?? ?????? ?? ?????.
1 using (CabArchive cabArchive = new CabArchive("archive.cab"))
2 {
3 cabArchive.ExtractToDirectory("C:\\extracted");
4 }WIM ????: Windows ???? ????
WIM(Windows ??? ??) ????? Microsoft?? Windows ?? ??? ???? ???? ???? ? ?????. ??? ?????? ?? ?? ?? ?? ??? Windows ??? ??? ? ???? WIM? ??? ???? ???? ?? ??? ??? ???.
.NET? Aspose.Zip? ???? WIM ????? ???? ???? ??? ??? ?? ?? ?? ??? ?? ??? ???? ? ? ????. WIM ????? ??? ??? ??? ????? ??? .NET? Aspose.Zip ??? ?? ??? ????? C# ??????? ??? ? ????.
1 using (var wimArchive = new WimArchive("archive.wim"))
2 {
3 wimArchive.Images[0].ExtractToDirectory("C:\\extrated");
4 }? ?? ???? ?? ? ?? ????
.NET? Aspose.ZIP? ???? Windows ???? ?? ? ?? ??? ???? ??? ?? ??? ??? ?? ???? ?????.