Compartir a través de


OsCapabilitiesExtensions.GetCertificate Method

Definition

Returns the certificate used to create this ConfidentialClientApplication, if any.

public static System.Security.Cryptography.X509Certificates.X509Certificate2 GetCertificate (this Microsoft.Identity.Client.IConfidentialClientApplication confidentialClientApplication);
static member GetCertificate : Microsoft.Identity.Client.IConfidentialClientApplication -> System.Security.Cryptography.X509Certificates.X509Certificate2
<Extension()>
Public Function GetCertificate (confidentialClientApplication As IConfidentialClientApplication) As X509Certificate2

Parameters

confidentialClientApplication
IConfidentialClientApplication

Returns

Applies to