Edit

Share via


CertificateLoader.LoadFromStoreCert Method

Definition

public static System.Security.Cryptography.X509Certificates.X509Certificate2 LoadFromStoreCert (string subject, string storeName, System.Security.Cryptography.X509Certificates.StoreLocation storeLocation, bool allowInvalid, bool server);
static member LoadFromStoreCert : string * string * System.Security.Cryptography.X509Certificates.StoreLocation * bool * bool -> System.Security.Cryptography.X509Certificates.X509Certificate2
Public Shared Function LoadFromStoreCert (subject As String, storeName As String, storeLocation As StoreLocation, allowInvalid As Boolean, server As Boolean) As X509Certificate2

Parameters

subject
String
storeName
String
storeLocation
StoreLocation
allowInvalid
Boolean
server
Boolean

Returns

Applies to