Method CreateTrustedDevelopmentCertificate
CreateTrustedDevelopmentCertificate(string[])
Creates a self-signed certificate for the specified DNS names and adds them to the local user's certificate store.
public static X509Certificate2 CreateTrustedDevelopmentCertificate(string[] dnsNames)
Parameters
dnsNames
string[]The certificate DNS names.