资源简介

C# 对Windows服务做简单控制,安装/卸载,启动/停止;需要在配置文件中指定服务名称与程序路径

资源截图

代码片段和文件信息

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2019-01-14 15:45  ServiceInstall\
     目录           0  2019-01-14 15:45  ServiceInstall\.vs\
     目录           0  2019-01-14 15:45  ServiceInstall\.vs\ServiceInstall\
     目录           0  2019-02-25 14:45  ServiceInstall\.vs\ServiceInstall\v15\
     文件       65536  2019-02-27 11:03  ServiceInstall\.vs\ServiceInstall\v15\.suo
     目录           0  2019-01-14 15:45  ServiceInstall\.vs\ServiceInstall\v15\Server\
     目录           0  2019-01-14 15:45  ServiceInstall\.vs\ServiceInstall\v15\Server\sqlite3\
     文件           0  2019-01-14 15:45  ServiceInstall\.vs\ServiceInstall\v15\Server\sqlite3\db.lock
     文件      593920  2019-02-25 15:03  ServiceInstall\.vs\ServiceInstall\v15\Server\sqlite3\storage.ide
     文件       32768  2019-02-27 10:55  ServiceInstall\.vs\ServiceInstall\v15\Server\sqlite3\storage.ide-shm
     文件     4124152  2019-02-27 11:02  ServiceInstall\.vs\ServiceInstall\v15\Server\sqlite3\storage.ide-wal
     目录           0  2019-02-27 11:02  ServiceInstall\ServiceInstall\
     文件        8466  2019-02-27 10:58  ServiceInstall\ServiceInstall\CServices.cs
     文件        3071  2019-02-27 11:02  ServiceInstall\ServiceInstall\Installer.Designer.cs
     文件        2756  2019-02-27 11:02  ServiceInstall\ServiceInstall\Installer.cs
     文件        5817  2019-02-27 11:02  ServiceInstall\ServiceInstall\Installer.resx
     文件         730  2019-02-25 14:37  ServiceInstall\ServiceInstall\Kernel32.cs
     文件         499  2019-01-14 15:46  ServiceInstall\ServiceInstall\Program.cs
     目录           0  2019-01-14 15:45  ServiceInstall\ServiceInstall\Properties\
     文件        1326  2019-01-14 15:45  ServiceInstall\ServiceInstall\Properties\AssemblyInfo.cs
     文件        2841  2019-01-14 15:45  ServiceInstall\ServiceInstall\Properties\Resources.Designer.cs
     文件        5612  2019-01-14 15:45  ServiceInstall\ServiceInstall\Properties\Resources.resx
     文件        1101  2019-01-14 15:45  ServiceInstall\ServiceInstall\Properties\Settings.Designer.cs
     文件         249  2019-01-14 15:45  ServiceInstall\ServiceInstall\Properties\Settings.settings
     文件        3910  2019-02-27 10:59  ServiceInstall\ServiceInstall\ServiceInstall.csproj
     文件          85  2019-02-27 10:59  ServiceInstall\ServiceInstall\ServiceInstall.ini
     文件        3092  2019-02-25 15:26  ServiceInstall\ServiceInstall\app.manifest
     目录           0  2019-01-14 15:46  ServiceInstall\ServiceInstall\bin\
     目录           0  2019-02-27 11:02  ServiceInstall\ServiceInstall\bin\Debug\
     文件       16896  2019-02-27 11:02  ServiceInstall\ServiceInstall\bin\Debug\ServiceInstall.exe
     文件          85  2019-02-27 10:59  ServiceInstall\ServiceInstall\bin\Debug\ServiceInstall.ini
............此处省略29个文件信息

评论

共有 条评论