This documentation is archived and is not being maintained.

HMAC.BlockSizeValue Property

Gets or sets the block size to use in the hash value.

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

protected:
property int BlockSizeValue {
	int get ();
	void set (int value);
}
/** @property */
protected int get_BlockSizeValue ()

/** @property */
protected void set_BlockSizeValue (int value)

protected function get BlockSizeValue () : int

protected function set BlockSizeValue (value : int)

Not applicable.

Property Value

The block size to use in the hash value.

A Hash-based Message Authentication Code (HMAC) uses a hash function where data is hashed by iterating a basic compression function on blocks of data. BlockSizeValue is the byte size of such a block. Its value is 64 bytes.

Windows 98, Windows Server 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 Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0
Show: