Beispiel #1
0
        public virtual void Logout()
        {
            if (!LoggedIn)
            {
                return;
            }

            Log.Info("Logging out.");
            _apiConnection.Logout();
            _loggedIn = false;

            if (_streamingManager != null)
            {
                _streamingManager.Disconnect();
            }
        }