public void Stop() { if (server != null) { server.Stop(); } }
private void Form1_FormClosing(object sender, FormClosingEventArgs e) { m_server.Stop(); m_logWriter.CloseLogFile(); }