MailKit.Net.Imap.ImapStream.ImapStream C# (CSharp) Method

ImapStream() public method

Initializes a new instance of the MailKit.Net.Imap.ImapStream class.
Creates a new ImapStream.
public ImapStream ( Stream source, StreamSocket socket, IProtocolLogger protocolLogger ) : System
source Stream The underlying network stream.
socket Windows.Networking.Sockets.StreamSocket The underlying network socket.
protocolLogger IProtocolLogger The protocol logger.
return System
		public ImapStream (Stream source, Socket socket, IProtocolLogger protocolLogger)
		{
			logger = protocolLogger;
			IsConnected = true;
			Stream = source;
			Socket = socket;
		}