ApplicationPgpSignature(Stream) Constructor

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

Definition

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

Parameters

stream  Stream
The content stream.

Remarks

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

Exceptions

ArgumentNullException stream is .
ArgumentException

stream does not support reading.

-or-

stream does not support seeking.

See Also