停机过程中的网络设备与.net [英] Stop Process on Network Machine with .Net

查看:159
本文介绍了停机过程中的网络设备与.net的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的项目,我会做到这一点: 有一个在餐厅一台服务器,并在Windows XP上运行的一些POS机被称为辐射系统。定于服务器中的.exe文件,而这个.exe文件将停止对辐射带来一些运行过程。这是可能的.NET远程。但它需要对辐射的姿势写一个.exe,但我不想这样做。认为这是对主服务器上的网络接入餐厅没有问题,并辐射姿势的餐厅。是否有可能做到这一点,而不使用.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?

推荐答案

一种方式是,使用远程调用KillProcess()方法,将依次调用的 Process.Kill 方法来杀死一个过程。 本文是值得看的。

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.

这篇关于停机过程中的网络设备与.net的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆