Class HashingWrapper
public class HashingWrapper : IHashingWrapper, IDisposable
  - Inheritance
 - 
      
      HashingWrapper
 
- Implements
 
- Derived
 
- Inherited Members
 
Constructors
HashingWrapper(HashAlgorithm)
public HashingWrapper(HashAlgorithm algorithm)
  Parameters
algorithmHashAlgorithm
HashingWrapper(string)
public HashingWrapper(string algorithmName)
  Parameters
algorithmNamestring
Methods
AppendBlock(byte[])
public void AppendBlock(byte[] buffer)
  Parameters
bufferbyte[]
AppendBlock(byte[], int, int)
public void AppendBlock(byte[] buffer, int offset, int count)
  Parameters
AppendLastBlock(byte[])
public byte[] AppendLastBlock(byte[] buffer)
  Parameters
bufferbyte[]
Returns
- byte[]
 
AppendLastBlock(byte[], int, int)
public byte[] AppendLastBlock(byte[] buffer, int offset, int count)
  Parameters
Returns
- byte[]
 
Clear()
public void Clear()
  ComputeHash(byte[])
public byte[] ComputeHash(byte[] buffer)
  Parameters
bufferbyte[]
Returns
- byte[]
 
ComputeHash(Stream)
public byte[] ComputeHash(Stream stream)
  Parameters
streamStream
Returns
- byte[]
 
Dispose()
Disposes of all managed and unmanaged resources.
public void Dispose()
  Dispose(bool)
Implements the Dispose pattern
protected virtual void Dispose(bool disposing)
  Parameters
disposingboolWhether this object is being disposed via a call to Dispose or garbage collected.