implement the interprocess communication between the C#.net GUI and mt4

 
I want to implement the interprocess communication between the C#.net GUI and mt4?
I Want to develop the GUI in C#.net for passing the data as input to the MT4? and also i want to read the data from the MT4  for displaying in C#.net GUI? How we can implement ?
I am using the named Pipes for inter process comunication  .Is is right way ? and provides the other possible approaches?  
 
rajat1984:
I want to implement the interprocess communication between the C#.net GUI and mt4?
I Want to develop the GUI in C#.net for passing the data as input to the MT4? and also i want to read the data from the MT4  for displaying in C#.net GUI? How we can implement ?
I am using the named Pipes for inter process comunication  .Is is right way ? and provides the other possible approaches?  
Have a look at this:  https://www.mql5.com/en/forum/143640
 

While using sockets for interprocess communication is possible, it is slow and does not properly address the problem (it's overkill). Sockets are mainly for machine-to-machine communication. Better reads for interprocess communication are

https://www.mql5.com/en/articles/503

and

https://www.mql5.com/en/code/10865

 

Simply I want to devlop  only GUI in C#.net and passing as input to MT4 terminal to draw the indicator and send the order to exchange. How we can achieve this functionalities ? Here is  no issue of client and server communication  bcoz C# application and MT4 terminal are running on same machine. I want to know how we can pass the input from C#.net application to Mt4 terminal for further processing and  how we can get the data from MT4 terminal to C#.net application? please resolve this problem?

Here multiple instance can be handled by C#.net GUi?