Connectivity Software User's Guide and Reference
CryptHashData Method



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

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

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

Parameters

hHash
pbData

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

dwDataLen
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