/// <summary> /// Initiates the client mode for just connecting to get the account /// </summary> /// <returns></returns> public void StartGetAccountMode(ClientAccount account) { if (account.ServerName == null) { throw new Exception("Client not configured"); } this.account = account; writeMessage("Establishing connection to port " + account.ServerPort + ". Please wait ..."); attemptConnection(5); }