0

I have C# windows service application myapp.exe that I have installed as windows service. The process list of Task Manager shows svchost.exe as process for all windows services that are running. I want to find which out of all of these svchost.exe is running my executable.

leppie
  • 115,091
  • 17
  • 196
  • 297
CleanBold
  • 1,551
  • 1
  • 14
  • 37

1 Answers1

2

You can assign a different name to your process using Project installer Class Click here to see how you could do that.

Once this is done you could get the Process ID for your application using this

Community
  • 1
  • 1
Denzil Soans
  • 667
  • 1
  • 7
  • 27