This topic has not yet been rated - Rate this topic

HMAC.Create Method

Creates an instance of the default implementation of a Hash-based Message Authentication Code (HMAC).

Namespace:  System.Security.Cryptography
Assembly:  mscorlib (in mscorlib.dll)
'Declaration
Public Shared Function Create As HMAC
'Usage
Dim returnValue As HMAC 

returnValue = HMAC.Create()

Return Value

Type: System.Security.Cryptography.HMAC
A new SHA-1 instance, unless the default settings have been changed by using the <cryptoClass> element.

By default, this overload uses the SHA-1 implementation of HMAC. If you want to specify a different implementation, use the Create overload, which lets you specify an algorithm name, instead.

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

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

.NET Framework

Supported in: 3.5, 3.0, 2.0

Date

History

Reason

Corrected member information.

Customer feedback.

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.