开发者

how to check if windows service is on/off from webapplication?

开发者 https://www.devze.com 2023-02-16 00:37 出处:网络
hot to check if windows service is on/off from webapplication? i am using asp.net mvc and c#. do i need some administrator privilegies to check status of windows 开发者_如何学运维service?ServiceContr

hot to check if windows service is on/off from webapplication? i am using asp.net mvc and c#. do i need some administrator privilegies to check status of windows 开发者_如何学运维service?


ServiceController will help you out. I am not sure of the privileges of viewing vs. starting/stopping are.

0

精彩评论

暂无评论...
验证码 换一张
取 消