Microsoft.Win32.SafeHandles.SafeCertContextHandle class SafeCertContextHandle : SafeCrypt32Handle<SafeCertContextHandle> SafeHandle for the CERT_CONTEXT structure defined by crypt32. Documentation Code public bool ContainsPrivateKey { get; } public CERT_CONTEXT* DangerousCertContext { get; } public bool HasEphemeralPrivateKey { get; } public bool HasPersistedPrivateKey { get; } public SafeCertContextHandle() public SafeCertContextHandle(SafeCertContextHandle parent) public CERT_CONTEXT* Disconnect() public SafeCertContextHandle Duplicate()