Communication between windows service and desktop app

petko_stankoski picture petko_stankoski · Oct 17, 2011 · Viewed 15.8k times · Source

I want to create a communication between a windows service and a desktop application on Windows 7. I read that named pipes are one way for communication between two processes. Can i use them for my purpose?

Answer

Davide Piras picture Davide Piras · Oct 17, 2011

sure you can use named pipes, WCF many other IPC methods.

for named pipe example among stack overflow questions, see here as well for some backgound:

Inter process communication using Windows service

also check this one: GUI and windows service communication