标签:C#暂停windows服务

C#安装/卸载/启用windows服务

C#安装/卸载/启用windows服务

今天遇到了一个小需求,就是使用C#编写的windows服务,需要在程序内进行安装、卸载、启用、关闭,以此来使安装windows服务的门槛变低,具体核心代码如下: using System; using System.Collections; using System.Collections.G

清风 清风 2022-09-13
1.8K+ 0 0