Assume we have an application A. It has two modules that it loads Module X and Module Y which communicate via net.pipe and a fixed URI.
Say Module X (WCF client) connects to Module Y(WCF server) with URI MyService. Also note there could be multiple instances of Module X in the same app that connect to Module Y. Now if we launch another instance of the application A, we will have two named pipe server instances with same URI created by Module Y. (The search algorithm used by WCF named pipes is listed here.)
Which pipe will be used by the modules to connect to each other if multiple instances of the same application is launched?