标签: c# .net windows service
可能重复: Find which account a service is set to "Log On As"
ServiceController实例是否公开任何功能以获取services.msc中LogOnAs字段下的值?