Stop() public méthode

Stop the server. This notifies the listener to stop accepting new connections and that the loop should exit.
public Stop ( ) : void
Résultat void
 public static void StopEmailServer(SimpleSmtpServer server)
 {
     if(server != null)
     {
         server.Stop();
     }
 }