Hi all I am able to get the list of services from C#
using System.ServiceProcess.ServiceController ->
GetServices() method. However, I don't find any C# method
that will change the StartMode of any service. I
currently know of changing the StartMode programmatically
by going to
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Servic es\AnySe
rviceName key. Is there any other recommended way? Please
let me know. Thanks for all your help.