Beispiel #1
0
        public void Stop()
        {
            try
            {
                LogOut();
            }
            catch { }

            if (serviceServer != null)
            {
                serviceServer.Stop();
                serviceServer.Dispose();
                serviceServer = null;
            }

            if (textServer != null)
            {
                textServer.Stop();
                textServer.Dispose();
                textServer = null;
            }

            if (fileServer != null)
            {
                fileServer.Stop();
                fileServer.Dispose();
                fileServer = null;
            }
        }