Click or drag to resize

CRC32 Class

Class for calculation CRC32 checksums.
Inheritance Hierarchy

Namespace: NeoAxis
Assembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntax
C#
public class CRC32 : HashAlgorithm

The CRC32 type exposes the following members.

Constructors
 NameDescription
Public methodCRC32 Creates a CRC32 object using the DefaultPolynomial
Public methodCRC32(UInt32) Creates a CRC32 object using the specified Creates a CRC32 object
Public methodCRC32(UInt32, Boolean) Construct the
Top
Properties
 NameDescription
Public propertyStatic memberAutoCache Gets or sets the auto-cache setting of this class.
Public propertyCanReuseTransformGets a value indicating whether the current transform can be reused.
(Inherited from HashAlgorithm)
Public propertyCanTransformMultipleBlocksWhen overridden in a derived class, gets a value indicating whether multiple blocks can be transformed.
(Inherited from HashAlgorithm)
Public propertyCurrentCRC 
Public propertyStatic memberDefaultPolynomial Returns the default polynomial
Public propertyHashGets the value of the computed hash code.
(Inherited from HashAlgorithm)
Public propertyHashSizeGets the size, in bits, of the computed hash code.
(Inherited from HashAlgorithm)
Public propertyInputBlockSizeWhen overridden in a derived class, gets the input block size.
(Inherited from HashAlgorithm)
Public propertyOutputBlockSizeWhen overridden in a derived class, gets the output block size.
(Inherited from HashAlgorithm)
Top
Methods
 NameDescription
Protected methodStatic memberBuildCRC32Table Builds a crc32 table given a polynomial
Public methodClearReleases all resources used by the HashAlgorithm class.
(Inherited from HashAlgorithm)
Public methodStatic memberClearCache 
Public methodComputeHash(Byte) Overloaded. Computes the hash value for the input data.
Public methodComputeHash(Stream) Computes the hash value for the specified Stream.
Public methodComputeHash(Byte, Int32, Int32) Overloaded. Computes the hash value for the input data.
Public methodComputeHashAsyncAsynchronously computes the hash value for the specified Stream object.
(Inherited from HashAlgorithm)
Public methodDisposeReleases all resources used by the current instance of the HashAlgorithm class.
(Inherited from HashAlgorithm)
Protected methodDispose(Boolean)Releases the unmanaged resources used by the HashAlgorithm and optionally releases the managed resources.
(Inherited from HashAlgorithm)
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodHashCore(ReadOnlySpanByte)Routes data written to the object into the hash algorithm for computing the hash.
(Inherited from HashAlgorithm)
Protected methodHashCore(Byte, Int32, Int32)
(Overrides HashAlgorithmHashCore(Byte, Int32, Int32))
Protected methodHashFinal
(Overrides HashAlgorithmHashFinal)
Public methodInitialize Initializes an implementation of HashAlgorithm.
(Overrides HashAlgorithmInitialize)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Protected methodStatic memberReflect 
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Public methodTransformBlockComputes the hash value for the specified region of the input byte array and copies the specified region of the input byte array to the specified region of the output byte array.
(Inherited from HashAlgorithm)
Public methodTransformFinalBlockComputes the hash value for the specified region of the specified byte array.
(Inherited from HashAlgorithm)
Public methodTryComputeHashAttempts to compute the hash value for the specified byte array.
(Inherited from HashAlgorithm)
Protected methodTryHashFinalAttempts to finalize the hash computation after the last data is processed by the hash algorithm.
(Inherited from HashAlgorithm)
Top
Fields
 NameDescription
Protected fieldHashSizeValueRepresents the size, in bits, of the computed hash code.
(Inherited from HashAlgorithm)
Protected fieldHashValueRepresents the value of the computed hash code.
(Inherited from HashAlgorithm)
Protected fieldStateRepresents the state of the hash computation.
(Inherited from HashAlgorithm)
Top
Extension Methods
 NameDescription
Public Extension MethodMethodInvoke Calls the object method by name.
(Defined by ObjectEx)
Public Extension MethodPropertyGet Gets the value of the object property by name.
(Defined by ObjectEx)
Public Extension MethodPropertyGetT Gets the value of the object property by name.
(Defined by ObjectEx)
Public Extension MethodPropertySet Sets the value of the object property by name.
(Defined by ObjectEx)
Top
See Also