Xceed .NET Libraries Documentation
Xceed.Zip Assembly / Xceed.Zip Namespace / ZippedFile Class / Crc32 Property


In This Topic
    Crc32 Property
    In This Topic
    Gets the file's uncompressed data CRC checksum.
    Syntax
    'Declaration
     
    Public Overridable ReadOnly Property Crc32 As Integer
    'Usage
     
    Dim instance As ZippedFile
    Dim value As Integer
     
    value = instance.Crc32
    public virtual int Crc32 {get;}

    Property Value

    A value indicating the file's uncompressed data CRC checksum.
    Remarks

    The CRC (Cyclic Redundancy Check) is a 32-bit checksum system that is used to verify the integrity of data.

    The zip file format contains the 32-bit CRC of each file's original uncompressed data. When a file is unzipped, the CRC is calculated on the file's newly unzipped data and compared with the stored CRC of the original file. If the CRCs are the same, then the unzipped file is very probably identical to the original file, because the 32-bit CRC is able to detect single bit variations even in the largest files.

    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also