예제 #1
0
        /// <summary>
        /// 停止服务
        /// </summary>
        /// <param name="hostControl"></param>
        /// <returns></returns>
        public bool Stop(HostControl hostControl)
        {
            HistoryDataTable.Save();
            KingProcesser.CloseListener();
            Debugger.Log(0, null, "Save HistoryDataTable Datas OK ..");

            if (sslProxyServer != null)
            {
                sslProxyServer.Dispose();
            }
            FiddlerApplication.Shutdown();
            return(true);
        }
예제 #2
0
 /// <summary>
 /// 停止服务
 /// </summary>
 /// <param name="hostControl"></param>
 /// <returns></returns>
 public bool Stop(HostControl hostControl)
 {
     KingProcesser.CloseListener();
     FiddlerApplication.Shutdown();
     return(true);
 }