Exemple #1
0
        public void StopServer()
        {
            try
            {
                _remoteServer = _serviceProvider.GetRequiredService <RemoteStageServer>();


                _remoteServer.Stop();
            }
            catch { }
        }
Exemple #2
0
        public void RunServer()
        {
            _remoteServer = _serviceProvider.GetRequiredService <RemoteStageServer>();

            _remoteServer.Run().GetAwaiter().GetResult();
        }