CertificateLoader.LoadFromStoreCert Yöntem
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
Sertifika deposundan bir sertifika yükler.
public:
static System::Security::Cryptography::X509Certificates::X509Certificate2 ^ LoadFromStoreCert(System::String ^ subject, System::String ^ storeName, System::Security::Cryptography::X509Certificates::StoreLocation storeLocation, bool allowInvalid);
public static System.Security.Cryptography.X509Certificates.X509Certificate2 LoadFromStoreCert(string subject, string storeName, System.Security.Cryptography.X509Certificates.StoreLocation storeLocation, bool allowInvalid);
static member LoadFromStoreCert : string * string * System.Security.Cryptography.X509Certificates.StoreLocation * bool -> System.Security.Cryptography.X509Certificates.X509Certificate2
Public Shared Function LoadFromStoreCert (subject As String, storeName As String, storeLocation As StoreLocation, allowInvalid As Boolean) As X509Certificate2
Parametreler
- subject
- String
Sertifika konusu.
- storeName
- String
Sertifika deposu adı.
- storeLocation
- StoreLocation
Sertifika deposunun konumu.
- allowInvalid
- Boolean
Geçersiz kabul edilen sertifikaların yüklenip yüklenmeyeceği.
Döndürülenler
Yüklenen sertifika.
Açıklamalar
Varsa, tam konu eşleşmesi yüklenir, aksi takdirde sağlanan konuyu içeren konu adıyla en iyi eşleşen sertifika. Konu karşılaştırması büyük/küçük harfe duyarlı değildir.