Click or drag to resize
MimeKit

ApplicationPgpSignature(Stream) Constructor

Initialize a new instance of the ApplicationPgpSignature class with a Content-Type of application/pgp-signature.

Namespace: MimeKit.Cryptography
Assembly: MimeKit (in MimeKit.dll) Version: 4.7.1
Syntax
C#
public ApplicationPgpSignature(
	Stream stream
)

Parameters

stream  Stream
The content stream.
Exceptions
ExceptionCondition
ArgumentNullExceptionstream is null.
ArgumentException

stream does not support reading.

-or-

stream does not support seeking.

Remarks
Creates a new MIME part with a Content-Type of application/pgp-signature and the stream as its content.
See Also