title: Unrar WinRar 5.5 archives in C#
body: <p>In July 2017 WinRar released version 5.5 which made changes to the rar standard. Since then, our library of choice, <a href="https://github.com/adamhathcock/sharpcompress" rel="nofollow noreferrer">SharpCompress</a>, fails with any archives produced by that version:</p>
  
  <pre><code>System.InvalidOperationException: Cannot determine compressed stream type. Supported Archive Formats: Zip, GZip, Tar, Rar, 7Zip
    at SharpCompress.Archive.ArchiveFactory.Open (System.IO.Stream stream, SharpCompress.Common.Options options) [0x00104] in &lt;c75ca43fe8b84e939decf36d5e9b045b&gt;:0
    at ImporterProject.Program+&lt;ImportDemo&gt;c__async1.MoveNext () [0x005d9] in &lt;131bee082c1a48da8a91db5359e262cc&gt;:0
  </code></pre>
  
  <p>An example of a new archive can be downloaded <a href="https://www.hltv.org/matches/2321778/bravado-vs-mostly-harmless-esea-main-season-27-north-america" rel="nofollow noreferrer">here</a>. 7zip opens this file without probelms, which is why I know that the archive is not broken.</p>
  
  <p>What other libraries are there that support reading of rar-archives in .NET? Optimally, the library should work on mono/FreeBSD in addition to Windows.</p>