GetHMAC Method
See Also 
SourceCode.Security.Cryptography Namespace > SymmetricProtector Class : GetHMAC Method



plaintext
auth

Glossary Item Box

Syntax

Visual Basic (Declaration)  
Public Function GetHMAC( _
   ByVal plaintext() As Byte, _
   Optional ByVal auth() As Byte _
) As Byte()
Visual Basic (Usage) Copy Code
Dim instance As SymmetricProtector
Dim plaintext() As Byte
Dim auth() As Byte
Dim value() As Byte
 
value = instance.GetHMAC(plaintext, auth)
C#  
public byte[] GetHMAC( 
   byte[] plaintext,
   byte[] auth
)
C++/CLI  
public:
array<byte>^ GetHMAC( 
   array<byte>^ plaintext,
   array<byte>^ auth
) 

Parameters

plaintext
auth

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also