X509Certificate StoreImport(Stream) Method
Imports the certificate(s) from the specified stream.
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(
Stream stream
)Parameters
- stream Stream
- The stream to import.
Remarks
Imports the certificate(s) from the specified stream.
Exceptions
| ArgumentNullException | stream is . |
| IOException | An error occurred reading the stream. |