Start Windows Service programmatically

后端 未结 6 2203
遥遥无期
遥遥无期 2020-12-08 00:02

I am having an issue with an application that I am creating. I am trying to start a windows service through my C# app. When I click my start button, it looks like everythi

6条回答
  •  我在风中等你
    2020-12-08 00:46

    Just try service.Start(); without the timeout or waitforstatus and hook its events to see whats happening.

提交回复
热议问题