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

Popular posts from this blog

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -