摘要: linux---->shutdown: 权限 root级别...shutdown可以安全的将系统关机...假如直接截断电源来关闭:----->很危险linux vs win 不同,后台有很多进程,强制关机的话可能导致系统进程数据丢失,还可能损坏硬盘...利用shutdown命令则可以让系统管理员通知所有登录用户要关闭,而且login指令冻结...shutdown -h -i -k -m... 阅读全文
posted @ 2010-10-16 15:22 sharpCloud 阅读(146) 评论(0) 推荐(0) 编辑
摘要: http://tracefact.net/CSharp-Programming/ 阅读全文
posted @ 2010-10-11 08:50 sharpCloud 阅读(385) 评论(0) 推荐(0) 编辑
摘要: -~~~~~~~~~~Form1.cs文件~~~~~~~~~~--using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Text;using System.Windows.Forms;//downloa... 阅读全文
posted @ 2010-10-11 08:34 sharpCloud 阅读(652) 评论(0) 推荐(0) 编辑
摘要: 以前为一个怎样获取本机ip地址而感到迷惑!现在碰到 System.Net 下的IPAddress时才豁然开朗,原来可以利用这个东西来检查是不是输入的ip有误还是没误!今天在vs上没事看到了IPAddress这个东东,然后修改了一下127.0.0.1为127.0.990.1,然后运行报错,so:IP地址在IpAddress下一定要是正确的,不然显示会错误!so:可以简单的就能判断xp系统的填写代码是... 阅读全文
posted @ 2010-09-04 21:23 sharpCloud 阅读(409) 评论(0) 推荐(0) 编辑