建立一个类.然后读取信息.调用代码如下. HardInfoClass myclass=new HardInfoClass(); textBox1.Text=myclass.GetHardDiskID(); textBox2.Text=myclass.GetCpuID(); textBox3.Text=myclass.GetNetCardMAC(); textBox4.Text=myclass.GetNetCa...
#region 获取网址中域名,目录,文件名的函数 public string GetUrlDomainName(string strHtmlPagePath) string p = @"http://[^\.]*\.(?domain[^/]*)"; Regex reg = new Regex(p,RegexOptions.IgnoreCase); Match m = reg.Match(strHtmlPagePat...
最新的WEB源码下载,马上去看看... 商业源码热门下载 www.alixixi.com using System; using System.Drawing; using System.Collections; using System.ComponentModel; using System.Windows.Forms; using System.Windows.Forms.Design;...
using System; using System.Drawing; using System.Collections; using System.ComponentModel; using System.Windows.Forms; //查询网络上的计算机IP和用户需要引用 using System.Data; using System.IO; using System.Net; using System.N...
广告代码,轮显广告,滚屏广告代码,站长必备! private string AddWindowsUser(string strDoamin, string strLogin, string strPwd) DirectoryEntry obDirEntry = null; try obDirEntry = new DirectoryEntry("WinNT://" + strDoamin); Direct...
通过程序自动的读取其它网站网页显示的信息,类似于爬虫程序。比方说我们有一个系统,要提取BaiDu网站上歌曲搜索排名。分析系统在根据得到的数据进行数据分析。为业务提供参考...
using System; using System.Collections.Generic; using System.Text; namespace ConsoleApplication1 class Program static void Main(string[] args) for (int i = 1; i 10; i++) Console.Write("0: ", i); for (int k = 1; k = i; k++) Console.Write("...
菜鸟学堂: 帮助你快速入门web开发! 最全面的通用函数集! //大家在做报表或查询的时候都会有给用户预设一些可选的日期范围(如上图) //如本年度销售额、本季度利润、本月新增客户...