Beispiel #1
0
        public void CloseSasara()
        {
            if (ServiceControl.IsHostStarted)
            {
                ServiceControl.CloseHost();
            }

            if (talker != null)
            {
                talker = null;
            }
        }
Beispiel #2
0
        public void KillCevio()
        {
            if (ServiceControl.IsHostStarted)
            {
                ServiceControl.CloseHost(HostCloseMode.Interrupt);
                this.Logger.Info($"CeVIO Remote Service, CloseHost.");
            }

            if (this.cevioTalker != null)
            {
                this.cevioTalker = null;
            }
        }
Beispiel #3
0
 public void Dispose()
 {
     ServiceControl.CloseHost();
 }
Beispiel #4
0
 private void Close_Click(object sender, EventArgs e)
 {
     //CeVIO終了
     ServiceControl.CloseHost();
 }