X509Certificate2UI
Displays user interface dialogs that allow you to select and view X.509 certificates. This class cannot be inherited.
using System.Runtime.CompilerServices;
namespace System.Security.Cryptography.X509Certificates
{
[NullableContext(1)]
[Nullable(0)]
public sealed class X509Certificate2UI
{
public X509Certificate2UI()
{
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_System_Windows_Extensions);
}
public static void DisplayCertificate(X509Certificate2 certificate)
{
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_System_Windows_Extensions);
}
public static void DisplayCertificate(X509Certificate2 certificate, IntPtr hwndParent)
{
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_System_Windows_Extensions);
}
public static X509Certificate2Collection SelectFromCollection(X509Certificate2Collection certificates, [Nullable(2)] string title, [Nullable(2)] string message, X509SelectionFlag selectionFlag)
{
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_System_Windows_Extensions);
}
public static X509Certificate2Collection SelectFromCollection(X509Certificate2Collection certificates, [Nullable(2)] string title, [Nullable(2)] string message, X509SelectionFlag selectionFlag, IntPtr hwndParent)
{
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_System_Windows_Extensions);
}
}
}