r.r
r.r

Reputation: 7173

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

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?

Upvotes: 0

Views: 376

Answers (1)

CheeZe5
CheeZe5

Reputation: 993

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

Upvotes: 1

Related Questions