CertificateStoreSaveToFile Method |
Saves the certificate store into a file.
Namespace: MailBee.SecurityAssembly: MailBee.NET (in MailBee.NET.dll) Version: 12.5.0 build 687 for .NET 4.5
Syntax public bool SaveToFile(
string filename,
CertStoreFileType fileType,
string pfxPassword
)
Public Function SaveToFile (
filename As String,
fileType As CertStoreFileType,
pfxPassword As String
) As Boolean
Parameters
- filename
- Type: SystemString
The filename of the file to be saved. - fileType
- Type: MailBee.SecurityCertStoreFileType
The format of the file store to be saved. - pfxPassword
- Type: SystemString
PFX password to protect the store from unauthorized access, or a null reference (Nothing in Visual Basic) if fileType is not Pfx.
Return Value
Type:
Booleantrue if the store was successfully saved to disk; otherwise,
false.
Exceptions Examples See Also