# C1.Zip.C1ZipEntry

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Zip_C1ZipEntry" data-uid="C1.Zip.C1ZipEntry" class="text-break">C1ZipEntry Class
</h1>
  <div class="markdown level0 summary"><p>Represents an entry in a zip file, and exposes information including the entry name,
compressed and uncompressed sizes, date, checksum, etc.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><span class="xref">C1ZipEntry</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Zip.html">C1.Zip</a></h6>
  <h6><strong>Assembly</strong>: C1.Zip.dll</h6>
  <h5 id="C1_Zip_C1ZipEntry_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class C1ZipEntry</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class C1ZipEntry</code></pre>
  </div>
  <h3 id="properties">Properties
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Zip_C1ZipEntry_Attributes" data-uid="C1.Zip.C1ZipEntry.Attributes">
          <a class="xref" href="C1.Zip.C1ZipEntry.Attributes.html#C1_Zip_C1ZipEntry_Attributes">Attributes</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the file attributes associated with the entry.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Zip_C1ZipEntry_CRC32" data-uid="C1.Zip.C1ZipEntry.CRC32">
          <a class="xref" href="C1.Zip.C1ZipEntry.CRC32.html#C1_Zip_C1ZipEntry_CRC32">CRC32</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the checksum calculated when the entry was compressed.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Zip_C1ZipEntry_Comment" data-uid="C1.Zip.C1ZipEntry.Comment">
          <a class="xref" href="C1.Zip.C1ZipEntry.Comment.html#C1_Zip_C1ZipEntry_Comment">Comment</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a comment associated with the entry.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Zip_C1ZipEntry_CompressionRatio" data-uid="C1.Zip.C1ZipEntry.CompressionRatio">
          <a class="xref" href="C1.Zip.C1ZipEntry.CompressionRatio.html#C1_Zip_C1ZipEntry_CompressionRatio">CompressionRatio</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the compression ratio applied to this entry.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Zip_C1ZipEntry_Date" data-uid="C1.Zip.C1ZipEntry.Date">
          <a class="xref" href="C1.Zip.C1ZipEntry.Date.html#C1_Zip_C1ZipEntry_Date">Date</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the date and time when the file used to create the entry was last modified.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Zip_C1ZipEntry_FileName" data-uid="C1.Zip.C1ZipEntry.FileName">
          <a class="xref" href="C1.Zip.C1ZipEntry.FileName.html#C1_Zip_C1ZipEntry_FileName">FileName</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the entry name. This is usually a file name, optionally including a path.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Zip_C1ZipEntry_IsEncrypted" data-uid="C1.Zip.C1ZipEntry.IsEncrypted">
          <a class="xref" href="C1.Zip.C1ZipEntry.IsEncrypted.html#C1_Zip_C1ZipEntry_IsEncrypted">IsEncrypted</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a value that determines whether the entry is encrypted.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Zip_C1ZipEntry_SizeCompressed" data-uid="C1.Zip.C1ZipEntry.SizeCompressed">
          <a class="xref" href="C1.Zip.C1ZipEntry.SizeCompressed.html#C1_Zip_C1ZipEntry_SizeCompressed">SizeCompressed</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the compressed size of the entry, in bytes.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Zip_C1ZipEntry_SizeCompressedLong" data-uid="C1.Zip.C1ZipEntry.SizeCompressedLong">
          <a class="xref" href="C1.Zip.C1ZipEntry.SizeCompressedLong.html#C1_Zip_C1ZipEntry_SizeCompressedLong">SizeCompressedLong</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the compressed size of the entry, in bytes, as a long integer.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Zip_C1ZipEntry_SizeUncompressed" data-uid="C1.Zip.C1ZipEntry.SizeUncompressed">
          <a class="xref" href="C1.Zip.C1ZipEntry.SizeUncompressed.html#C1_Zip_C1ZipEntry_SizeUncompressed">SizeUncompressed</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the original (uncompressed) size of the entry, in bytes.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Zip_C1ZipEntry_SizeUncompressedLong" data-uid="C1.Zip.C1ZipEntry.SizeUncompressedLong">
          <a class="xref" href="C1.Zip.C1ZipEntry.SizeUncompressedLong.html#C1_Zip_C1ZipEntry_SizeUncompressedLong">SizeUncompressedLong</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the original (uncompressed) size of the entry, in bytes, as a long integer.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Zip_C1ZipEntry_CheckCRC32" data-uid="C1.Zip.C1ZipEntry.CheckCRC32">
          <a class="xref" href="C1.Zip.C1ZipEntry.CheckCRC32.html#C1_Zip_C1ZipEntry_CheckCRC32">CheckCRC32()</a>
        </td>
        <td class="markdown level1 summary"><p>Calculates a checksum value for the entry and compares it to the checksum that
was stored when the entry was created.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Zip_C1ZipEntry_CheckPassword" data-uid="C1.Zip.C1ZipEntry.CheckPassword">
          <a class="xref" href="C1.Zip.C1ZipEntry.CheckPassword.html#C1_Zip_C1ZipEntry_CheckPassword">CheckPassword()</a>
        </td>
        <td class="markdown level1 summary"><p>Checks whether this <a class="xref" href="C1.Zip.C1ZipEntry.html">C1ZipEntry</a> can be read with the currently set password.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Zip_C1ZipEntry_Extract_System_String_" data-uid="C1.Zip.C1ZipEntry.Extract(System.String)">
          <a class="xref" href="C1.Zip.C1ZipEntry.Extract.html#C1_Zip_C1ZipEntry_Extract_System_String_">Extract(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Extracts this entry to a file.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Zip_C1ZipEntry_OpenReader" data-uid="C1.Zip.C1ZipEntry.OpenReader">
          <a class="xref" href="C1.Zip.C1ZipEntry.OpenReader.html#C1_Zip_C1ZipEntry_OpenReader">OpenReader()</a>
        </td>
        <td class="markdown level1 summary"><p>Returns a <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.io.stream">Stream</a> that can be used to read the content of the entry without
extracting it to a disk file.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Zip_C1ZipEntry_Remove" data-uid="C1.Zip.C1ZipEntry.Remove">
          <a class="xref" href="C1.Zip.C1ZipEntry.Remove.html#C1_Zip_C1ZipEntry_Remove">Remove()</a>
        </td>
        <td class="markdown level1 summary"><p>Removes this entry from the zip file.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
