How to get certificate information dialog?
When using the native webbrowser control, I made a call using the code below:
var
pct: IOleCommandTarget;
begin
NativeWebBrowser.ControlInterface.QueryInterface(IOleCommandTarget, pct);
if pct <> nil then
pct.Exec(@CGID_ShellDocView, 33, 0, POleVariant(nil)^, POleVariant(nil)^);
Disclosure Statement: This site contains affiliate links, which means that I may receive a commission if you make a purchase using these links. As an eBay Partner, I earn from qualifying purchases.
Certificate Dialog info
- salvadordf
- Posts: 4580
- Joined: Thu Feb 02, 2017 12:24 pm
- Location: Spain
- Contact:
Re: Certificate Dialog info
Try CryptUIDlgViewCertificateW available in CRYPTUI.DLL
https://learn.microsoft.com/en-us/windows/win32/api/cryptuiapi/nf-cryptuiapi-cryptuidlgviewcertificatew
https://learn.microsoft.com/en-us/windows/win32/api/cryptuiapi/nf-cryptuiapi-cryptuidlgviewcertificatew