Click or drag to resize
MimeKit

ProtocolLogger(Stream, Boolean) Constructor

Initializes a new instance of the ProtocolLogger class.

Namespace: MailKit
Assembly: MailKit (in MailKit.dll) Version: 4.7.1
Syntax
C#
public ProtocolLogger(
	Stream stream,
	bool leaveOpen = false
)

Parameters

stream  Stream
The stream.
leaveOpen  Boolean  (Optional)
true if the stream should be left open after the protocol logger is disposed.
Remarks
Creates a new ProtocolLogger to log to a specified stream.
See Also