Xceed .NET Libraries Documentation
Xceed.Compression.Formats Assembly / Xceed.Compression.Formats Namespace / ChecksumStream Class / ExpectedChecksum Property


In This Topic
    ExpectedChecksum Property
    In This Topic
    Gets or sets the expected checksum.
    Syntax
    'Declaration
     
    Public Property ExpectedChecksum As Integer
    'Usage
     
    Dim instance As ChecksumStream
    Dim value As Integer
     
    instance.ExpectedChecksum = value
     
    value = instance.ExpectedChecksum
    public int ExpectedChecksum {get; set;}

    Property Value

    A value representing the expected checksum.
    Remarks

    If this value is different than zero, the calculated checksum will be validated against the expected checksum when all data has been read from the inner stream.

    This property is accessible even when the stream is closed.

    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