C# Class System.Net.Mail.Tests.SmtpServer

Show file Open project: dotnet/corefx Class Usage Examples

Public Methods

Method Description
Run ( ) : void
SmtpServer ( ) : System.Diagnostics
Stop ( ) : void

Private Methods

Method Description
Dispatch ( NetworkStream ns, StreamReader r, string s ) : bool
Trace ( string key, object value ) : void
WriteNS ( NetworkStream ns, string s ) : void

Method Details

Run() public method

public Run ( ) : void
return void

SmtpServer() public method

public SmtpServer ( ) : System.Diagnostics
return System.Diagnostics

Stop() public method

public Stop ( ) : void
return void