????? WIM

?????

WIM � ?? ?????? ?????????? Microsoft Windows. ?? ?????? ??????????? ????? ????? ?? ????????? Aspose.Zip ??? ????, ?? ? ???? ??????. ??? ???? ??????? ???????? ?????????, ????? ? ???? ???????????? ?????? WimImage. ?? ?????? ??????? ????? ?????????, ?? ?????????? ?????.

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

??? ?????? ??????? ??? ?????????? ??????, ????? ?? ???????? ????????.

1    using (WimArchive wimArchive = new WimArchive("boot.wim"))
2    {
3        wimArchive.Images[0].ExtractToDirectory("extracted0");
4        wimArchive.Images[1].ExtractToDirectory("extracted1");
5    }

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

??? ?????? ??????? ????? ????? ????? ??????? ?????????? ?? ????????.

1    using(WimArchive wimArchive = new WimArchive("boot.wim"))
2    {
3        foreach (WimFileEntry entry in wimArchive.Images[0].AllEntries.OfType<WimFileEntry>())
4        {
5            string entryPath = Path.Combine("extracted", entry.Name);
6            entry.Extract(entryPath);
7        }
8    }

Subscribe to Aspose Product Updates

Get monthly newsletters & offers directly delivered to your mailbox.