Visual Basic (Declaration) | |
---|---|
<ExtensionAttribute()> Public Overloads Shared Function GetHMAC( _ ByVal hmacFactory As Func(Of Byte(),HMAC), _ ByVal key() As Byte, _ ByVal clear() As Byte _ ) As Byte() |
Visual Basic (Usage) | ![]() |
---|---|
Dim hmacFactory As Func(Of Byte(),HMAC) Dim key() As Byte Dim clear() As Byte Dim value() As Byte value = CryptoFactory.GetHMAC(hmacFactory, key, clear) |
C# | |
---|---|
[Extension()] public static byte[] GetHMAC( Func<byte[],HMAC> hmacFactory, byte[] key, byte[] clear ) |
C++/CLI | |
---|---|
[Extension()] public: static array<byte>^ GetHMAC( Func<array<byte>,HMAC^>^ hmacFactory, array<byte>^ key, array<byte>^ clear ) |
Parameters
- hmacFactory
- key
- clear
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