'Declaration Public Function New( _ ByVal inner As Stream, _ ByVal checksumType As ChecksumType, _ ByVal expectedChecksum As Integer _ )
'Usage Dim inner As Stream Dim checksumType As ChecksumType Dim expectedChecksum As Integer Dim instance As New ChecksumStream(inner, checksumType, expectedChecksum)
public ChecksumStream( Stream inner, ChecksumType checksumType, int expectedChecksum )
Parameters
- inner
- The stream whose checksum will be calculated.
- checksumType
- A ChecksumType value indicating which type of checksum to calculate.
- expectedChecksum
- The checksum value that is expected after all the data has been read from the inner stream.