18 references to CryptUI
System.Windows.Extensions (18)
_generated\0\LibraryImports.g.cs (11)
290internal static partial bool CryptUIDlgViewCertificateW(in global::Interop.CryptUI.CRYPTUI_VIEWCERTIFICATE_STRUCTW ViewInfo, nint pfPropertiesChanged) 293global::Interop.CryptUI.CRYPTUI_VIEWCERTIFICATE_STRUCTW.Marshaller.Native __ViewInfo_native = default; 299__ViewInfo_native = global::Interop.CryptUI.CRYPTUI_VIEWCERTIFICATE_STRUCTW.Marshaller.ConvertToUnmanaged(ViewInfo); 312global::Interop.CryptUI.CRYPTUI_VIEWCERTIFICATE_STRUCTW.Marshaller.Free(__ViewInfo_native); 319static extern unsafe int __PInvoke(global::Interop.CryptUI.CRYPTUI_VIEWCERTIFICATE_STRUCTW.Marshaller.Native* __ViewInfo_native, nint __pfPropertiesChanged_native); 329internal static partial global::Microsoft.Win32.SafeHandles.SafeCertContextHandle CryptUIDlgSelectCertificateW(ref global::Interop.CryptUI.CRYPTUI_SELECTCERTIFICATE_STRUCTW csc) 333global::Interop.CryptUI.CRYPTUI_SELECTCERTIFICATE_STRUCTW.Marshaller.Native __csc_native = default; 341__csc_native = global::Interop.CryptUI.CRYPTUI_SELECTCERTIFICATE_STRUCTW.Marshaller.ConvertToUnmanaged(csc); 353csc = global::Interop.CryptUI.CRYPTUI_SELECTCERTIFICATE_STRUCTW.Marshaller.ConvertToManaged(__csc_native); 364global::Interop.CryptUI.CRYPTUI_SELECTCERTIFICATE_STRUCTW.Marshaller.Free(__csc_native); 371static extern unsafe nint __PInvoke(global::Interop.CryptUI.CRYPTUI_SELECTCERTIFICATE_STRUCTW.Marshaller.Native* __csc_native);
System\Security\Cryptography\X509Certificates\X509Certificate2UI.cs (7)
55Interop.CryptUI.CRYPTUI_VIEWCERTIFICATE_STRUCTW ViewInfo = default; 57ViewInfo.dwSize = (uint)sizeof(Interop.CryptUI.CRYPTUI_VIEWCERTIFICATE_STRUCTW.Marshaller.Native); 80if (!Interop.CryptUI.CryptUIDlgViewCertificateW(ViewInfo, IntPtr.Zero)) 122Interop.CryptUI.CRYPTUI_SELECTCERTIFICATE_STRUCTW csc = default; 128Interop.CryptUI.CRYPTUI_SELECTCERTIFICATE_STRUCTW.Marshaller.Native native; 130csc.dwSize = (uint)Unsafe.ByteOffset(ref Unsafe.As<Interop.CryptUI.CRYPTUI_SELECTCERTIFICATE_STRUCTW.Marshaller.Native, byte>(ref native), ref Unsafe.As<IntPtr, byte>(ref native.hSelectedCertStore)); 151SafeCertContextHandle safeCertContextHandle = Interop.CryptUI.CryptUIDlgSelectCertificateW(ref csc);