如何用c#判断电脑是否关机 [英] how to judge whether the computer shutdown using c#

查看:488
本文介绍了如何用c#判断电脑是否关机的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在我们的工作组中ping计算机以判断计算机是否关机。但是这个方法有一个缺点:当计算机安装防火墙软件时,我无法ping通电脑。那么,我可以吗?

I ping the computer in our workgroup to judge whether the computer shutdown.But the mehtod has a drawback: when the computer install the firewall soft,I cann't ping the computer. So, whate can i do?

推荐答案





如果是,那么你的答案就是我的答案评论然后参考这个链接 [ ^ ]。

在这里你可以找到远程系统是否正常运行,如果它正在运行,它会发出哔声。



希望这会对你有所帮助。



问候,

RK
Hi,

If YES would be your answer for my comment then refer this link[^].
Here you can find whether remote system is up and running, if its running then it gives beep sound.

Hope this helps you a bit.

Regards,
RK


这篇关于如何用c#判断电脑是否关机的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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