private static void Server_OnStopped(object sender, NetStoppedEventArgs e) { throw new NotImplementedException(); }
static void server_OnStopped(object sender, NetStoppedEventArgs e) { logger.Info("Server stopped"); if (serialPort != null) serialPort.Close(); terminated=true; }
static void server_OnStopped(object sender, NetStoppedEventArgs e) { Console.WriteLine("Server Stopped --" + DateTime.Now); }