G
gregory_may
I would like to prevent a VB.Net windows service from stopping by any user
who does not have Administrative privilges on the box.
Is this possible in the "OnStop" or "OnShutdown" areas of
System.ServiceProcess.ServiceBase?
It looks like there is a "CanStop" property refered to in this article:
http://msdn.microsoft.com/library/d...systemserviceprocessservicebaseclasstopic.asp
But I dont know how to turn CanStop off/on only if someone has Admin
privledges.
Any suggestions?
Thanks!
who does not have Administrative privilges on the box.
Is this possible in the "OnStop" or "OnShutdown" areas of
System.ServiceProcess.ServiceBase?
It looks like there is a "CanStop" property refered to in this article:
http://msdn.microsoft.com/library/d...systemserviceprocessservicebaseclasstopic.asp
But I dont know how to turn CanStop off/on only if someone has Admin
privledges.
Any suggestions?
Thanks!