摘要: C# 编写Windows服务、部署、启动以及卸载1、创建 ,2、在构造函数中启动 System.Timers.Timer3、编写代码后,创建其安装程序;ServiceName即4、安装:C:\Windows\Microsoft.NET\Framework\v4.0.30319\InstallUtil.exe 服务exe路径5、启动:net start 6、卸载:C:\Windows\Microsoft.NET\Framework\v4.0.30319\InstallUtil.exe /u 服务exe路径 阅读全文
posted @ 2013-10-23 17:37 刘文天 阅读(369) 评论(0) 推荐(0) 编辑