MailKit Documentation
MailKit Documentation
API Reference
MimeKit.Cryptography
X509CertificateStore Class
X509CertificateStore Methods
Import Method
Import(Byte[]) Method
Import(Stream) Method
Import(String) Method
Import(Byte[], String) Method
Import(Stream, String) Method
Import(String, String) Method
X509Certificate
Store
Import(String) Method
Imports the certificate(s) from the specified file.
Namespace:
MimeKit.Cryptography
Assembly:
MimeKit (in MimeKit.dll) Version: 4.7.1
Syntax
C#
Copy
public
void
Import
(
string
fileName
)
Parameters
fileName
String
The name of the file to import.
Exceptions
Exception
Condition
ArgumentNullException
fileName
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
Reference
X509CertificateStore Class
Import Overload
MimeKit.Cryptography Namespace
Copyright © 2013-2023 Jeffrey Stedfast
Send comments on this topic to
Jeffrey Stedfast