Connectivity Software User's Guide and Reference
CryptDestroyKey Method



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

Parameters

hKey
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