Closed et721 closed 7 years ago
I guess the extract RAR example here is wrong https://github.com/adamhathcock/sharpcompress/blob/master/USAGE.md
The Archive example here works: https://sharpcompress.codeplex.com/wikipage?title=Composite%20API%20Examples
var archive = ArchiveFactory.Open(@"C:\Code\sharpcompress\TestArchives\sharpcompress.zip");
foreach (var entry in archive.Entries)
{
if (!entry.IsDirectory)
{
Console.WriteLine(entry.FilePath);
entry.WriteToDirectory(@"C:\temp", ExtractOptions.ExtractFullPath | ExtractOptions.Overwrite);
}
}
@Ethan872 It's only missing if you're on a platform that doesn't support File operations like phones.
@aximili no, that code sample is wrong unless you're on an old version.
This method is missing?