public void CloseSasara() { if (ServiceControl.IsHostStarted) { ServiceControl.CloseHost(); } if (talker != null) { talker = null; } }
public void KillCevio() { if (ServiceControl.IsHostStarted) { ServiceControl.CloseHost(HostCloseMode.Interrupt); this.Logger.Info($"CeVIO Remote Service, CloseHost."); } if (this.cevioTalker != null) { this.cevioTalker = null; } }
public void Dispose() { ServiceControl.CloseHost(); }
private void Close_Click(object sender, EventArgs e) { //CeVIO終了 ServiceControl.CloseHost(); }