Skip to content

Commit

Permalink
Add Crc32 to ZipArchiveEntry
Browse files Browse the repository at this point in the history
Commit migrated from dotnet/corefx@b4b79c7
  • Loading branch information
stefannikolei authored and Ian Hays committed Dec 13, 2017
1 parent affe62a commit d385837
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,8 @@ internal ZipArchiveEntry(ZipArchive archive, string entryName)
/// The ZipArchive that this entry belongs to. If this entry has been deleted, this will return null.
/// </summary>
public ZipArchive Archive => _archive;

public uint Crc32 => _crc32;

/// <summary>
/// The compressed size of the entry. If the archive that the entry belongs to is in Create mode, attempts to get this property will always throw an exception. If the archive that the entry belongs to is in update mode, this property will only be valid if the entry has not been opened.
Expand Down

0 comments on commit d385837

Please sign in to comment.