Connectivity Software User's Guide and Reference
CryptSetHashParam Method



OpcLabs.BaseLibPrimitives Assembly > OpcLabs.BaseLib.Licensing Namespace > Crypto.NativeMethods Class : CryptSetHashParam Method

The value of this parameter cannot be null (Nothing in Visual Basic).

Syntax
'Declaration
 
Public Shared Function CryptSetHashParam( _
   ByVal hHash As IntPtr, _
   ByVal dwParam As Integer, _
   ByVal pbData() As Byte, _
   ByVal dwFlags As Integer _
) As Boolean
'Usage
 
Dim hHash As IntPtr
Dim dwParam As Integer
Dim pbData() As Byte
Dim dwFlags As Integer
Dim value As Boolean
 
value = Crypto.NativeMethods.CryptSetHashParam(hHash, dwParam, pbData, dwFlags)
public static bool CryptSetHashParam( 
   IntPtr hHash,
   int dwParam,
   byte[] pbData,
   int dwFlags
)
public:
static bool CryptSetHashParam( 
   IntPtr hHash,
   int dwParam,
   array<byte>^ pbData,
   int dwFlags
) 

Parameters

hHash
dwParam
pbData

The value of this parameter cannot be null (Nothing in Visual Basic).

dwFlags
Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also