You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Determines whether the certificate has a private key associated with it. The method determines this by checking whether the CERT\_KEY\_PROV\_INFO\_PROP\_ID property is present.
The HasPrivateKey method determines whether the certificate has a private key associated with it. The method determines this by checking whether the CERT_KEY_PROV_INFO_PROP_ID property is present.
Syntax
Certificate.HasPrivateKey()
Parameters
This method has no parameters.
Requirements
Requirement
Value
End of client support
Windows Vista
End of server support
Windows Server 2008
Redistributable
CAPICOM 2.0 or later on Windows Server 2003 and Windows XP