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


In This Topic
    Crc32 Property (ZippedFile)
    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.

    Supported Frameworks

    .NET: net5.0, net5.0-windows, net6.0, net6.0-macos, net6.0-windows, net7.0, net7.0-macos, net7.0-windows, net8.0, net8.0-browser, net8.0-macos, net8.0-windows, net9.0, net9.0-browser, net9.0-macos, net9.0-windows, net10.0, net10.0-browser, net10.0-macos, net10.0-windows.

    .NET Standard: netstandard2.0, netstandard2.1

    .NET Framework: net20, net35, net40, net403, net45, net451, net452, net46, net461, net462, net463, net47, net471, net472, net48, net481.

    See Also