Click or drag to resize
MimeKit

X509CertificateStoreImport(String) Method

Imports the certificate(s) from the specified file.

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

Parameters

fileName  String
The name of the file to import.
Exceptions
ExceptionCondition
ArgumentNullExceptionfileName is null.
FileNotFoundException The specified file could not be found.
IOException An error occurred reading the file.
Remarks
Imports the certificate(s) from the specified file.
See Also