core.Core.LoadExistingConnection C# (CSharp) Method

LoadExistingConnection() public method

public LoadExistingConnection ( ) : void
return void
        public void LoadExistingConnection()
        {
            // Check for a last-saved connection
            ServerConfig settings = LoadServerSettings("Last", "Server");

            if (settings != null)
            {
                try
                {
                    CommHandler.Connect(settings.Address, settings.Port, settings.Password);
                }
                catch (Exception e) {
                    Log(System.Reflection.MethodBase.GetCurrentMethod().Name, e.Message);
                }
            }
        }