共用方式為


CertificateLoader.LoadFromStoreCert 方法

定義

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

參數

subject
String
storeName
String
storeLocation
StoreLocation
allowInvalid
Boolean
server
Boolean

傳回

適用於