/// <summary> /// Starts the SSO server. /// </summary> private void StartServer() { try { m_server.Start(); WaitForToken(); } catch (IOException) { MessageBox.Show(string.Format(Properties.Resources.ErrorSSOStartup, SSOWebServer.PORT), @"Cannot start authentication", MessageBoxButtons.OK, MessageBoxIcon.Exclamation); } }
/// <summary> /// Starts the SSO server. /// </summary> private void StartServer() { try { m_server.Start(); WaitForToken(); } catch (IOException) { MessageBox.Show(string.Format(@"Failed to start SSO server. Check your " + "firewall settings (using port {0:D}) and ensure that only one " + "instance of EVEMon is active when adding ESI keys.", SSOWebServer.PORT), @"Cannot start authentication", MessageBoxButtons.OK, MessageBoxIcon.Exclamation); } }