0

Hi,

Im new to the windows .NET platform and I was wondering if someone can guide me. I have a c# program that implements an interface. Inside this program, I have a method where I get an array of processes running on the workstation and I look for a specific process. Once I find it, I want to call an interface method on the process (I know it also implements the same interface).

How do I do this? Someone suggested I use IPC but I looked online and there are lots of code samples but Im confused about how to make it work in my program.

I saw online that others have created a server class, a client class, etc,etc. But in my program's method how can I make IPC work?

Please help.

Thanks

2
Contributors
3
Replies
4
Views
6 Years
Discussion Span
Last Post by agugglez
0

If you want to do something like a server-side and a client-side application you should give a try to Windows Communication Fundation and implement a service. You can call the server's method from the client and the other way around.

0

If you want to do something like a server-side and a client-side application you should give a try to Windows Communication Fundation and implement a service. You can call the server's method from the client and the other way around.

Thanks for the response but Im looking for a way for 2 processes to communicate on the same workstation.

0

you can also use Sockets. This way you'll exchange data between the processes but you wont be able to call methods from each other.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.