title: Decompress a .rar file using ZipFile in c#
body: <p>I have an application of upload directories: when I upload a directory it must be <code>.zip</code> et <code>.rar</code> . when I decompress a <code>.zip</code> file there is no problem but in the case of <code>.rar</code> I have an exception here:</p>
  
  <pre><code>FileStream fs = File.OpenRead(path);
  zf = new ZipFile(fs); 
  </code></pre>
  
  <p>I have this exception : </p>
  
  <blockquote>
    <p>Cannot find central directory.</p>
  </blockquote>
  
  <p>What is the reason of this exception? How can i fix this code?</p>