0
Reply

How to identify non-microsoft services

Ask a question
Jamie

Jamie

16y
1.9k
1

Apologies if this thread is in the wrong forum category. I am fairly new to c#; a few months experience.

Could anyone tell me how to identify non-microsoft services?

I have used the ServiceController class to list all services, but I want to exclude the Microsoft services from thelist. The ServiceType().ToString() method only shows two types: Win32ShareProcess and Win32OwnProcess.

Any ideas how I identify microsoft services, so I can exclude the from the list?