随笔 - 252, 文章 - 13, 评论 - 176, 阅读 - 58万
  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

12 2012 档案

摘要:http://www.x2y2.com:80/fisker/post/0703/window.location.html?ver=1.0&id=6#imhere我们可以用javascript获得其中的各个部分1,window.location.href整个URl字符串(在浏览器中就是完整的地址栏)本例返回值:http://ifisker.com/blog/post/0703/window.location.html#2,window.location.protocolURL的协议部分本例返回值:http:3,window.location.hostURL的主机部分本例返回值:www.x 阅读全文

posted @ 2012-12-30 13:05 快乐家++ 阅读(271) 评论(0) 推荐(0) 编辑

摘要:private void button1_Click(object sender, EventArgs e) { textBox1.Text = ""; foreach (string s in listBox1.SelectedItems) { ManagementObjectSearcher searcher = new ManagementObjectSearcher("Select * From "+s); foreach (Man... 阅读全文

posted @ 2012-12-29 21:36 快乐家++ 阅读(20913) 评论(4) 推荐(9) 编辑

摘要://修改域public static CookieContainer InitCookie(CookieContainer cc){CookieContainer coo = new CookieContainer();Hashtable table = (Hashtable)cc.GetType().InvokeMember("m_domainTable", System.Reflection.BindingFlags.NonPublic | System.Reflection.BindingFlags.GetField | System.Reflection.Bindi 阅读全文

posted @ 2012-12-21 15:42 快乐家++ 阅读(2884) 评论(0) 推荐(0) 编辑

该文被密码保护。

posted @ 2012-12-14 15:59 快乐家++ 阅读(46) 评论(0) 推荐(0) 编辑

摘要://C#查询DNS的MX地址的代码namespace PAB.DnsUtils { using System; using System.Collections; using System.ComponentModel; using System.Runtime.InteropServices; public class DnsMx { public DnsMx() { } [DllImport("dnsapi", EntryPoint="DnsQuery_W", CharSet=CharSet.Unicode, SetLastError=true, E 阅读全文

posted @ 2012-12-07 16:34 快乐家++ 阅读(310) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示