HashCore Method
Collapse the table of content
Expand the table of content

HMAC.HashCore Method

Note: This method is new in the .NET Framework version 2.0.

When overridden in a derived class, routes data written to the object into the default HMAC hash algorithm for computing the hash value.

Namespace: System.Security.Cryptography
Assembly: mscorlib (in mscorlib.dll)

Protected Overrides Sub HashCore ( _
	rgb As Byte(), _
	ib As Integer, _
	cb As Integer _
Dim rgb As Byte()
Dim ib As Integer
Dim cb As Integer

Me.HashCore(rgb, ib, cb)
protected void HashCore (
	byte[] rgb, 
	int ib, 
	int cb
protected override function HashCore (
	rgb : byte[], 
	ib : int, 
	cb : int



The input data.


The offset into the byte array from which to begin using data.


The number of bytes in the array to use as data.

This method is not called by application code.

This abstract method performs the hash computation. Every write to the cryptographic stream object passes the data through this method. For each block of data, this method updates the state of the hash object so that a correct hash value is returned at the end of the data stream.

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0

Community Additions

© 2015 Microsoft