PeerCredential.SetCertificate 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.
Sertifikayı ayarlar.
Aşırı Yüklemeler
| Name | Description |
|---|---|
| SetCertificate(String, StoreLocation, StoreName) |
Sertifikayı ayarlar. |
| SetCertificate(StoreLocation, StoreName, X509FindType, Object) |
Sertifikayı belirtilen arama ölçütleriyle ayarlar. |
SetCertificate(String, StoreLocation, StoreName)
Sertifikayı ayarlar.
public:
void SetCertificate(System::String ^ subjectName, System::Security::Cryptography::X509Certificates::StoreLocation storeLocation, System::Security::Cryptography::X509Certificates::StoreName storeName);
public void SetCertificate(string subjectName, System.Security.Cryptography.X509Certificates.StoreLocation storeLocation, System.Security.Cryptography.X509Certificates.StoreName storeName);
member this.SetCertificate : string * System.Security.Cryptography.X509Certificates.StoreLocation * System.Security.Cryptography.X509Certificates.StoreName -> unit
Public Sub SetCertificate (subjectName As String, storeLocation As StoreLocation, storeName As StoreName)
Parametreler
- subjectName
- String
Sertifikanın konu adı.
- storeLocation
- StoreLocation
Sertifika deposunun konumu.
- storeName
- StoreName
Sertifika deposunun adı.
Açıklamalar
Bu aşırı yükleme, eş sertifika kimlik bilgilerini belirtmek için kullanılır. Kullanıcının erişimi olan kullanılabilir sertifika depolarından birinden sertifikayı yüklemek için bir kısayol olarak sağlanır.
Şunlara uygulanır
SetCertificate(StoreLocation, StoreName, X509FindType, Object)
Sertifikayı belirtilen arama ölçütleriyle ayarlar.
public:
void SetCertificate(System::Security::Cryptography::X509Certificates::StoreLocation storeLocation, System::Security::Cryptography::X509Certificates::StoreName storeName, System::Security::Cryptography::X509Certificates::X509FindType findType, System::Object ^ findValue);
public void SetCertificate(System.Security.Cryptography.X509Certificates.StoreLocation storeLocation, System.Security.Cryptography.X509Certificates.StoreName storeName, System.Security.Cryptography.X509Certificates.X509FindType findType, object findValue);
member this.SetCertificate : System.Security.Cryptography.X509Certificates.StoreLocation * System.Security.Cryptography.X509Certificates.StoreName * System.Security.Cryptography.X509Certificates.X509FindType * obj -> unit
Public Sub SetCertificate (storeLocation As StoreLocation, storeName As StoreName, findType As X509FindType, findValue As Object)
Parametreler
- storeLocation
- StoreLocation
Sertifika deposunun konumu.
- storeName
- StoreName
Sertifika deposunun adı.
- findType
- X509FindType
Arama ölçütleri.
- findValue
- Object
Aranacak değer.