Exemplo n.º 1
0
        /// <summary>Shut down the client and clean everything up.</summary>
        /// <remarks>
        /// You can call this method if you are totally done with a client and don't plan
        /// on using it to connect again.
        /// </remarks>
        public void Shutdown()
        {
            if (baseClient != null)
            {
                baseClient.CleanUpEverything();
                baseClient.Dispose();
                baseClient = null;
            }


            NetworkClient.Shutdown();
        }