摘要: 1、SSH Secure Shell Client2、Xming实现步骤:1、运行Xming工具2、运行SSH Secure Shell Client,登陆linux系统输入命令:export DISPLAY=192.168.8.102:0.0(192.168.8.102:0.0里的第一个0是由系统自动分配的,类似于DHCP的意思。)3、输入cheese即可实现 阅读全文
posted @ 2013-12-17 16:45 天王星天 阅读(702) 评论(0) 推荐(0)
摘要: 1 /// 2 /// 是否能 Ping 通指定的主机 3 /// 4 /// ip 地址或主机名或域名 5 /// true 通,false 不通 6 public bool Ping(string ip) 7 { 8 System.Net.NetworkInformation.Ping p = new System.Net.NetworkInformation.Ping(); 9 System.Net.NetworkInfo... 阅读全文
posted @ 2013-12-17 15:16 天王星天 阅读(494) 评论(0) 推荐(0)
摘要: 很多软件都有获知局域网在线计算机IP的功能,但是在.net怎么实现呢,有好多方法, 下面我给大家介绍几种,供大家参考。1、微软社区上介绍了使用Active Directory 来遍历局域网 利用DirectoryEntry组件来查看网络 网址:http://www.microsoft.com/china/communITy/program/originalarticles/techdoc/DirectoryEntry.mspx 1 private void EnumComputers() 2 { 3 using(DirectoryEntry root = new Directory... 阅读全文
posted @ 2013-12-17 15:04 天王星天 阅读(3359) 评论(0) 推荐(0)
摘要: c#可以遍历局域网计算机,获取全部计算机的名称和IP地址,网上提供了相关的几种方法,并对效率进行了比较,但是没有对各种方法进行比较,以确定可以使用的情况。这篇文章将对这几种方法进行分析,以帮助了解各种方法适用的情况。 1 using System; 2 using System.Collections.Generic; 3 using System.ComponentModel; 4 using System.Data; 5 using System.Drawing; 6 using System.Linq; 7 using System.Text; 8 using Syste... 阅读全文
posted @ 2013-12-17 15:00 天王星天 阅读(2344) 评论(0) 推荐(0)