Dotnet Windows service setting up Recovery option using Managed code

孤人 提交于 2019-12-22 17:09:10

问题


I'm having a windows service which is developed using .net framework 4.6.1. While installing the service, I want to Programmatically set the Recovery option of the service. Is there any option using managed code to do this activity.


回答1:


I got a tool call Topshelf (http://topshelf-project.com/ ) Which is helping me to set Recovery option programmatically. Just answering my own question. It will be helpful for others.



来源:https://stackoverflow.com/questions/45895691/dotnet-windows-service-setting-up-recovery-option-using-managed-code

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!