Export (0) Print
Expand All

HashAlgorithm Methods

The HashAlgorithm type exposes the following members.

  NameDescription
Public method Clear Releases all resources used by the HashAlgorithm class.
Public method ComputeHash(Byte[]) Computes the hash value for the specified byte array.
Public method ComputeHash(Stream) Computes the hash value for the specified Stream object.
Public method ComputeHash(Byte[], Int32, Int32) Computes the hash value for the specified region of the specified byte array.
Public method Static member Create() Creates an instance of the default implementation of a hash algorithm.
Public method Static member Create(String) Creates an instance of the specified implementation of a hash algorithm.
Public method Dispose() Releases all resources used by the current instance of the HashAlgorithm class.
Protected method Dispose(Boolean) Releases the unmanaged resources used by the HashAlgorithm and optionally releases the managed resources.
Public method Equals(Object) Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method HashCore When overridden in a derived class, routes data written to the object into the hash algorithm for computing the hash.
Protected method HashFinal When overridden in a derived class, finalizes the hash computation after the last data is processed by the cryptographic stream object.
Public method Initialize Initializes an implementation of the HashAlgorithm class.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method TransformBlock Computes 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.
Public method TransformFinalBlock Computes the hash value for the specified region of the specified byte array.
Top

Community Additions

ADD
Show:
© 2014 Microsoft