K
Ken Varn
Is there a class or method that can be called to set the configuration
settings of an existing Windows Service? In particular I want to set the
startup mode (i.e, Manual, AutoStart, etc..). I can do it with a pinvoke,
but I wanted to check first to see if there was a way to do it natively. I
noticed there is a ServiceController class, but in only allows checking of
the status, and not setting it.
--
-----------------------------------
Ken Varn
Senior Software Engineer
Diebold Inc.
EmailID = varnk
Domain = Diebold.com
-----------------------------------
settings of an existing Windows Service? In particular I want to set the
startup mode (i.e, Manual, AutoStart, etc..). I can do it with a pinvoke,
but I wanted to check first to see if there was a way to do it natively. I
noticed there is a ServiceController class, but in only allows checking of
the status, and not setting it.
--
-----------------------------------
Ken Varn
Senior Software Engineer
Diebold Inc.
EmailID = varnk
Domain = Diebold.com
-----------------------------------