/// <summary>
        /// Stops the service.
        /// </summary>
        public void Quit(RemoteServer server) {
            if (_process == null || _process.HasExited)
                return;

            server.ShutDown();

            if (_process.WaitForExit(5000)) {
                _process.Dispose();
                _process = null;
            }
        }
 /// <summary>
 /// Stops the service.
 /// </summary>
 public void Quit(RemoteServer server) {
     this.Dispose();
 }
Exemple #3
0
 /// <summary>
 /// Stops the service.
 /// </summary>
 public void Quit(RemoteServer server)
 {
     this.Dispose();
 }