Esempio n. 1
0
        public void Start([CanBeNull] GameOptions gameOptions, bool allowRemoteConnections)
        {
            CheckDisposed();

            if (_isServiceRunning)
            {
                return;
            }

            try
            {
                CreateServiceHost();
                _serviceHost.StartService(!allowRemoteConnections);
            }
            catch
            {
                Dispose();
                throw;
            }
        }