Udostępnij za pośrednictwem


EncryptionUtils.GetCertificateFromStore Method

Definition

Overloads

GetCertificateFromStore(String)
GetCertificateFromStore(String, StoreLocation)

GetCertificateFromStore(String)

public static System.Security.Cryptography.X509Certificates.X509Certificate2 GetCertificateFromStore (string certificateThumbprint);
static member GetCertificateFromStore : string -> System.Security.Cryptography.X509Certificates.X509Certificate2
Public Shared Function GetCertificateFromStore (certificateThumbprint As String) As X509Certificate2

Parameters

certificateThumbprint
String

Returns

Applies to

GetCertificateFromStore(String, StoreLocation)

public static System.Security.Cryptography.X509Certificates.X509Certificate2 GetCertificateFromStore (string certificateThumbprint, System.Security.Cryptography.X509Certificates.StoreLocation location);
static member GetCertificateFromStore : string * System.Security.Cryptography.X509Certificates.StoreLocation -> System.Security.Cryptography.X509Certificates.X509Certificate2
Public Shared Function GetCertificateFromStore (certificateThumbprint As String, location As StoreLocation) As X509Certificate2

Parameters

certificateThumbprint
String
location
StoreLocation

Returns

Applies to