c# - How to know process id of host process that executes my executable in windows service? -
i have c# windows service application myapp.exe
have installed windows service. process list of task manager shows svchost.exe
process windows services running. want find out of of these svchost.exe
running executable.
you can assign different name process using project installer class click here see how that.
once done process id application using this
Comments
Post a Comment