예제 #1
0
        public void Disconnect()
        {
            if (connector != null)
            {
                try {
                    connector.Close();
                } finally {
                    try {
                        serviceTracker.Stop();
                    } finally {
                        connector      = null;
                        serviceTracker = null;
                        treeSystem     = null;
                    }

                    connected = false;
                }
            }
        }