UserCertificateEnrollmentManager.InstallCertificateAsync 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.
Asynchronously installs a certificate chain into the app container on the local computer.
public:
virtual IAsyncAction ^ InstallCertificateAsync(Platform::String ^ certificate, InstallOptions installOption) = InstallCertificateAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncAction InstallCertificateAsync(winrt::hstring const& certificate, InstallOptions const& installOption);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncAction InstallCertificateAsync(string certificate, InstallOptions installOption);
function installCertificateAsync(certificate, installOption)
Public Function InstallCertificateAsync (certificate As String, installOption As InstallOptions) As IAsyncAction
Parameters
- certificate
-
String
Platform::String
winrt::hstring
The encoded certificate. The certificate is encoded by using Distinguished Encoding Rules (DER) as defined by the Abstract Syntax Notation One (ASN.1) standard.
- installOption
- InstallOptions
An InstallOptions enumeration value that specifies the certificate installation option.
Returns
This method does not return a value.
- Attributes