Click or drag to resize
MimeKit

NullProtocolLogger Class

A protocol logger that does not log to anywhere.
Inheritance Hierarchy
SystemObject
  MailKitNullProtocolLogger

Namespace: MailKit
Assembly: MailKit (in MailKit.dll) Version: 4.3.0
Syntax
C#
public sealed class NullProtocolLogger : IProtocolLogger, 
	IDisposable

The NullProtocolLogger type exposes the following members.

Constructors
 NameDescription
Public methodNullProtocolLogger Initializes a new instance of the NullProtocolLogger class.
Top
Properties
 NameDescription
Public propertyAuthenticationSecretDetector Get or set the authentication secret detector.
Top
Methods
 NameDescription
Public methodDispose Releases all resource used by the NullProtocolLogger object.
Public methodEquals
(Inherited from Object)
Public methodGetHashCode
(Inherited from Object)
Public methodGetType
(Inherited from Object)
Public methodLogClient Logs a sequence of bytes sent by the client.
Public methodLogConnect Logs a connection to the specified URI.
Public methodLogServer Logs a sequence of bytes sent by the server.
Public methodToString
(Inherited from Object)
Top
Remarks
By default, the SmtpClient, Pop3Client, and ImapClient all use a NullProtocolLogger.
See Also