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