private async void btnStart_Click(object sender, EventArgs e) { if (m_ServerNode != null && !m_ServerNode.IsWorking()) { await m_ServerNode.StartStandaloneMode(m_PublicSetting); await Task.Delay(500); if (m_ServerNode.IsWorking()) { CommonLog.Info("Server Started"); if (m_ServerNode.IsStandalone()) { CommonLog.Info("Server is in standalone mode"); } else { CommonLog.Info("Internal URL: " + m_ServerNode.GetInternalAccessUrl()); } CommonLog.Info("Public URL: " + m_ServerNode.GetPublicAccessUrl()); } } }