CertificateSaveToFileAsync Method |
Namespace: MailBee.SecurityAssembly: MailBee.NET.45 (in MailBee.NET.45.dll) Version: 10.0.45.502
Syntaxpublic Task<bool> SaveToFileAsync(
string filename,
CertFileType fileType,
string pfxPassword
)
Public Function SaveToFileAsync (
filename As String,
fileType As CertFileType,
pfxPassword As String
) As Task(Of Boolean)
Parameters
- filename
- Type: SystemString
The path to the file. - fileType
- Type: MailBee.SecurityCertFileType
The format of the file to save. - pfxPassword
- Type: SystemString
PFX password if fileType is Pfx,
or a null reference (Nothing in Visual Basic).
Return Value
Type:
TaskBooleanA task that represents the asynchronous operation.
The value of
TResult parameter is
true if the certificate was successfully saved to disk; otherwise, false.
Exceptions
See Also