ExecutionResult.ClientCertificate Property
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.
The certificate used for authentication, if certificate-based authentication was used.
public System.Security.Cryptography.X509Certificates.X509Certificate2 ClientCertificate { get; }
member this.ClientCertificate : System.Security.Cryptography.X509Certificates.X509Certificate2
Public ReadOnly Property ClientCertificate As X509Certificate2
Property Value
An X509Certificate2 used to authenticate the client application;
otherwise, null if certificate authentication was not used or if the certificate is not available.
Remarks
This property provides access to the certificate used during the token acquisition for this request.