阅读背景:

你如何在.NET(C#)中杀死特定用户的进程?

来源:互联网 

I work off of a multi-user Windows Server, and the rdpclip bug bites us all daily. We usually just open task manager and kill then restart rdpclip, but that's a pain in the butt. I wrote a powershell script for killing then restarting rdpclip, but no one's using it because it's a script (not to mention the execution policy is restricted for the box). I'm trying to write a quick and dirty windows app where you click a button to kill rdpclip and restart it. But I want to restrict it to the current user, and can't find a method for the Process class that does this. So far, here's what I have:I work off of a multi-user Windows Server, and




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: