IdeaBlade DevForce 2010 Help Reference
CrcCalculatorStream Class
Members  See Also  Send Feedback
IdeaBlade.Core Assembly > Ionic.Crc Namespace : CrcCalculatorStream Class



A Stream that calculates a CRC32 (a checksum) on all bytes read, or on all bytes written.

Syntax

Visual Basic (Declaration) 
Public Class CrcCalculatorStream 
   Inherits System.IO.Stream
   Implements System.IDisposable 
Visual Basic (Usage)Copy Code
Dim instance As CrcCalculatorStream
C# 
public class CrcCalculatorStream : System.IO.Stream, System.IDisposable  
C++/CLI 
public ref class CrcCalculatorStream : public System.IO.Stream, System.IDisposable  

Remarks

This class can be used to verify the CRC of a ZipEntry when reading from a stream, or to calculate a CRC when writing to a stream. The stream should be used to either read, or write, but not both. If you intermix reads and writes, the results are not defined.

This class is intended primarily for use internally by the DotNetZip library.

Inheritance Hierarchy

System.Object
   System.MarshalByRefObject
      System.IO.Stream
         Ionic.Crc.CrcCalculatorStream

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2013 All Rights Reserved.