Connectivity Software User's Guide and Reference
CryptReleaseContext Method



OpcLabs.BaseLibPrimitives Assembly > OpcLabs.BaseLib.Licensing Namespace > Crypto.NativeMethods Class : CryptReleaseContext Method
Syntax
'Declaration
 
Public Shared Function CryptReleaseContext( _
   ByVal hProv As IntPtr, _
   ByVal dwFlags As Integer _
) As Boolean
'Usage
 
Dim hProv As IntPtr
Dim dwFlags As Integer
Dim value As Boolean
 
value = Crypto.NativeMethods.CryptReleaseContext(hProv, dwFlags)
public static bool CryptReleaseContext( 
   IntPtr hProv,
   int dwFlags
)
public:
static bool CryptReleaseContext( 
   IntPtr hProv,
   int dwFlags
) 

Parameters

hProv
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