<PackageReference Include="System.Windows.Extensions" Version="10.0.0-preview.1.25080.5" />

X509Certificate2UI

public sealed class X509Certificate2UI
Displays user interface dialogs that allow you to select and view X.509 certificates. This class cannot be inherited.

Initializes an instance of the X509Certificate2UI class.

public static void DisplayCertificate(X509Certificate2 certificate)

Displays a dialog box that contains the properties of an X.509 certificate and its associated certificate chain.

public static void DisplayCertificate(X509Certificate2 certificate, IntPtr hwndParent)

Displays a dialog box that contains the properties of an X.509 certificate and its associated certificate chain using a handle to a parent window.

public static X509Certificate2Collection SelectFromCollection(X509Certificate2Collection certificates, string title, string message, X509SelectionFlag selectionFlag)

Displays a dialog box for selecting an X.509 certificate from a certificate collection.

public static X509Certificate2Collection SelectFromCollection(X509Certificate2Collection certificates, string title, string message, X509SelectionFlag selectionFlag, IntPtr hwndParent)

Displays a dialog box for selecting an X.509 certificate from a certificate collection using a handle to a parent window.