Connectivity Software User's Guide and Reference
CryptGetHashParam Method



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

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

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

Parameters

hHash
dwParam
pbData

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

pdwDataLen
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