Click or drag to resize
MimeKit

X509CertificateStoreExport(String) Method

Exports the certificates to an unencrypted file.

Namespace: MimeKit.Cryptography
Assembly: MimeKit (in MimeKit.dll) Version: 4.3.0
Syntax
C#
public void Export(
	string fileName
)

Parameters

fileName  String
The file path to write to.
Exceptions
ExceptionCondition
ArgumentNullExceptionfileName is null.
ArgumentExceptionfileName is a zero-length string, contains only white space, or contains one or more invalid characters.
PathTooLongException The specified path exceeds the maximum allowed path length of the system.
DirectoryNotFoundException A directory in the specified path does not exist.
UnauthorizedAccessException The user does not have access to create the specified file.
IOException An error occurred while writing to the stream.
Remarks
Exports the certificates to an unencrypted file.
See Also