Connectivity Software User's Guide and Reference
CertOpenStore Method



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

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

Syntax
'Declaration
 
Public Shared Function CertOpenStore( _
   ByVal lpszStoreProvider As Integer, _
   ByVal dwMsgAndCertEncodingType As Integer, _
   ByVal hCryptProv As IntPtr, _
   ByVal dwFlags As Integer, _
   ByVal pvPara As String _
) As IntPtr
'Usage
 
Dim lpszStoreProvider As Integer
Dim dwMsgAndCertEncodingType As Integer
Dim hCryptProv As IntPtr
Dim dwFlags As Integer
Dim pvPara As String
Dim value As IntPtr
 
value = Crypto.NativeMethods.CertOpenStore(lpszStoreProvider, dwMsgAndCertEncodingType, hCryptProv, dwFlags, pvPara)

Parameters

lpszStoreProvider
dwMsgAndCertEncodingType
hCryptProv
dwFlags
pvPara

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

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