Connectivity Software User's Guide and Reference
CertFindCertificateInStore Method



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

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

Syntax
'Declaration
 
Public Shared Function CertFindCertificateInStore( _
   ByVal hCertStore As IntPtr, _
   ByVal dwCertEncodingType As Integer, _
   ByVal dwFindFlags As Integer, _
   ByVal dwFindType As Integer, _
   ByVal pvFindPara As String, _
   ByVal pPrevCertContext As IntPtr _
) As IntPtr
'Usage
 
Dim hCertStore As IntPtr
Dim dwCertEncodingType As Integer
Dim dwFindFlags As Integer
Dim dwFindType As Integer
Dim pvFindPara As String
Dim pPrevCertContext As IntPtr
Dim value As IntPtr
 
value = Crypto.NativeMethods.CertFindCertificateInStore(hCertStore, dwCertEncodingType, dwFindFlags, dwFindType, pvFindPara, pPrevCertContext)

Parameters

hCertStore
dwCertEncodingType
dwFindFlags
dwFindType
pvFindPara

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

pPrevCertContext
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