Skip to content

Commit

Permalink
Update ArchiveFile.cs
Browse files Browse the repository at this point in the history
support for rar5 archives.

You still need new 7z.dll:
Go to http://www.7-zip.org/download.html and get the newest x86 or x64 version and install it. Copy the "7z.dll" to the unrarit folder and rename it to "7z-amd64.dll". If you used the 32bit dll rename it to "7z-x86.dll"
  • Loading branch information
ganego authored Oct 21, 2017
1 parent 8fe7ed7 commit 9197375
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion UnRarIt.Archive/SevenZip/ArchiveFile.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,10 @@ public sealed class ArchiveFile : IArchiveFile, IArchiveOpenCallback, IArchiveOp
public static readonly Guid FormatZip = new Guid("23170f69-40c1-278a-1000-000110010000");
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Rar")]
public static readonly Guid FormatRar = new Guid("23170f69-40c1-278a-1000-000110030000");
public static readonly Guid FormatRar5 = new Guid("23170f69-40c1-278a-1000-000110CC0000");
public static readonly Guid FormatSplit = new Guid("23170f69-40c1-278a-1000-000110EA0000");
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2104:DoNotDeclareReadOnlyMutableReferenceTypes")]
public static readonly ReadOnlyCollection<Guid> AllFormats = new ReadOnlyCollection<Guid>(new List<Guid>() { FormatZip, FormatRar, FormatSevenZip, FormatSplit });
public static readonly ReadOnlyCollection<Guid> AllFormats = new ReadOnlyCollection<Guid>(new List<Guid>() { FormatZip, FormatRar, FormatRar5, FormatSevenZip, FormatSplit });
private readonly Dictionary<string, IArchiveEntry> items = new Dictionary<string, IArchiveEntry>();
private string currentPassword = string.Empty;
private readonly Dictionary<string, SevenZipFileStream> fileStreams = new Dictionary<string, SevenZipFileStream>();
Expand Down

0 comments on commit 9197375

Please sign in to comment.