Click or drag to resize
MimeKit

GnuPGContextSaveSecretKeyRingBundle Method

Saves the secret key-ring bundle.

Namespace: MimeKit.Cryptography
Assembly: MimeKit (in MimeKit.dll) Version: 4.3.0
Syntax
C#
protected void SaveSecretKeyRingBundle()
Exceptions
ExceptionCondition
IOException An error occured while saving the secret key-ring bundle.
Remarks

Atomically saves the secret key-ring bundle to the path specified by SecretKeyRingPath.

Called by Import(PgpSecretKeyRingBundle, CancellationToken) if any secret keys were successfully imported.

See Also