| IApplicationPkcs7MimeImportAsync Method |
Asynchronously import the certificates contained in the application/pkcs7-mime content.
Namespace: MimeKit.CryptographyAssembly: MimeKit (in MimeKit.dll) Version: 4.7.1
Syntax Task ImportAsync(
SecureMimeContext ctx,
CancellationToken cancellationToken = default
)
Parameters
- ctx SecureMimeContext
- The S/MIME context to import certificates into.
- cancellationToken CancellationToken (Optional)
- The cancellation token.
Return Value
TaskAn asynchronous task context.
Exceptions Remarks
Asynchronously imports the certificates contained in the application/pkcs7-mime content.
See Also