X509Certificate StoreImport(String) Method
Imports the certificate(s) from the specified file.
Definition
Namespace: MimeKit.Cryptography
Assembly: MimeKit.Cryptography (in MimeKit.Cryptography.dll) Version: 5.0.0
Assembly: MimeKit.Cryptography (in MimeKit.Cryptography.dll) Version: 5.0.0
C#
public void Import(
string fileName
)Parameters
- fileName String
- The name of the file to import.
Remarks
Imports the certificate(s) from the specified file.
Exceptions
| ArgumentNullException | fileName is . |
| FileNotFoundException | The specified file could not be found. |
| IOException | An error occurred reading the file. |