如何杀死进程客户端 [英] How to kill process client

查看:212
本文介绍了如何杀死进程客户端的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在Windows应用程序中杀死进程客户端[服务器/客户端]

谢谢

解决方案

如果您是想杀死客户端,
修改您的服务器和客户端以使以下操作成为可能:
-由服务器发送一些原始字符串/命令,该字符串/命令将被客户端识别为exitcommand,然后发送Close();
如果您是说如何通过客户端杀死进程,则该(进程)正在服务器端运行
http://www.dreamincode.net/code/snippet1543.htm

在以下情况下,我是如何做到的:
-通过客户端字符串发送说过程?"
-接收此字符串的服务器创建进程列表,并将其存储在Array
并转而使用,说:?"或以"\"作为分隔符.
客户端创建此列表,并且所需的进程通过发送其Array索引而被杀死.
因此,您还需要Google提供进程列表C#".


任务管理器显示有关程序控制计算机或网吧的客户端服务器计算机屏幕.


how to kill process client in windows appliaction [server/client]

thank you

解决方案

If you mean how to kill client,
modify your server and client to make possible following:
- send by server some original string/command, that will be recognized by client as exitcommand, and then Close();
If you mean how to kill process by client, that(process) is running on server side
http://www.dreamincode.net/code/snippet1543.htm

How I done it some when:
- send by client string says "process?"
- server receiving this string creates process list, store they in Array
and transfer to client as striing, using, says, "?" or "\" as separator.
Client create this list and needed process was killed by sending its Array index.
So you need also Google for "process list C#".


Task manager shows the client server computer screen about the program control computer or internet cafe.


这篇关于如何杀死进程客户端的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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