摘要: CookieContainer cookies; string strCookie = cookies?.GetCookieHeader(uri).Replace("%2C", ","); 阅读全文
posted @ 2022-02-17 10:01 黄立明02 阅读(176) 评论(0) 推荐(0) 编辑
摘要: Task[] tasks = new Task[3]; tasks[0] = new Task(() => { SocketPackage socketPackage = ClassWeb.HttpRequest(UpdateFile.updateUrl + UpdateFile.exeFile + 阅读全文
posted @ 2022-02-17 09:23 黄立明02 阅读(27) 评论(0) 推荐(0) 编辑
摘要: Thread thread = new Thread(new ThreadStart(() => UpdateFile.Start(false, this))) { IsBackground = true }; thread.Start(); 阅读全文
posted @ 2022-02-17 09:14 黄立明02 阅读(10) 评论(0) 推荐(0) 编辑
摘要: ThreadPool.QueueUserWorkItem(delegate { RestartService("EABackgroundService"); }) 阅读全文
posted @ 2022-02-17 09:11 黄立明02 阅读(13) 评论(0) 推荐(0) 编辑