EncryptionUtils.GetCertificateFromStore Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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