Serkan Hekimoglu Serkan Hekimoglu - 2 months ago 7
C# Question

Stop Process on Network Machine with .Net

In my project, I am going to do that :
There is a server in restaurant, and some pos machines which are running on Windows XP called Radiant systems. There will be a .exe on server, and this .exe will stop running some process on Radiant Poses. It is possible with .Net Remoting. But it requires to write an .exe on the Radiant Poses, but I dont want to do that. Think there is no problem on network access on Main Server in restaurant and Radiant Poses in restaurant. Is it possible to do that without using .Net Remoting?

Answer

One way could be, to use Remoting to call a KillProcess() method that would in turn call the Process.Kill method to kill a process. This article is worth looking at.

Comments