登录
首页 » C# » WCF基础实例host

WCF基础实例host

于 2015-06-22 发布
0 97
下载积分: 1 下载次数: 0

代码说明:

WCF基础实例host

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • Network-security-assessment-system
    网络安全评估系统,根据评估目标和评估内容的要求构建的一组反映网络安全水平的相关指标,据以搜集评估对象的有关信息资料,反映评估对象的网络安全的基本面貌、素质和水平。(Network security assessment system)
    2014-04-04 19:23:01下载
    积分:1
  • curl
    说明:  libcurl http 与ftp文件上传代码(libcurl http and ftp upload file code)
    2019-12-09 17:21:22下载
    积分:1
  • smart-home-server
    说明:  基于select的多线程并发服务器,可用作基础服务器框架(Multithread concurrent server)
    2020-06-18 16:00:02下载
    积分:1
  • 123
    NET平台下的IP欺骗和SYN Flood攻击-彭宁-贵州大学(NET platform IP spoofing and SYN Flood attacks- Penning- Guizhou University)
    2013-12-17 11:41:19下载
    积分:1
  • MachRemote
    MACH3软件二次开发的一个实例程序,希望对喜欢MACH3二次开发的朋友有帮助。(MACH3 software secondary development of an example program, we want to enjoy MACH3 secondary development to help a friend.)
    2021-01-15 15:28:46下载
    积分:1
  • VC_Net
    Visual C++ 网络编程精选实例。TCP/IP,串口网络通信。配书光盘。(Visual C++ network programming selected examples. TCP/IP, serial network communications. CD-ROM with the book.)
    2020-11-22 14:29:36下载
    积分:1
  • LPFW使用户可以控制允许哪些应用序使用 lpfw-master
    LPFW使用户可以控制允许哪些应用程序使用网络。它配备了一个GUI。 这些说明专门适用于64位Ubuntu 14.04,但很可能适用于其他Linux发行版。请注意,在32位Linux上,lpfw可能无法正常运行。(LPFW gives the user control over which applications are allowed to use the network. It comes with a GUI. These instructions apply specifically to Ubuntu 14.04 64-bit but are very likely to work on other Linux distributions. Please note that on 32-bit Linuxes lpfw may function incorrectly.)
    2020-06-22 00:00:01下载
    积分:1
  • connecuioncollision
    说明:  OFDM principle, suitable for WiMAX beginners
    2019-01-04 04:39:46下载
    积分:1
  • c# 扫描IP Http Header
    c# 扫描IP Http Headerusing System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Windows.Forms;using System.Threading;using System.IO;namespace HScan{ public partial class Form1 : Form { int _currentThreads = 0; int _maxThreads = 100; Thread main = null; Thread mt = null; List threads = new List(); public Form1() { InitializeComponent(); Control.CheckForIllegalCrossThreadCalls = false; } private void btnStart_Click(object sender, EventArgs e) { btnStart.Enabled = false; if (txtStart.Text.Trim() == "") { MessageBox.Show("起始IP不能为空."); return; } if (txtEnd.Text.Trim() == "") { MessageBox.Show("结束IP不能为空."); return; } int ts = Convert.ToInt32(txtThreads.Text); _maxThreads = ts; string startIp = txtStart.Text; string endIp = txtEnd.Text; TParameter tp=new TParameter(); tp.StartIp=startIp; tp.EndIp=endIp; tp.ThreadCount=ts; main = new Thread(new ParameterizedThreadStart(StartMe)); main.Start(tp); } protected void ThreadManage() { Thread c=null; while (true) { System.Object lockThis = new System.Object(); lock (lockThis) { for (int i = 0; i < threads.Count; i ) { if (threads[i] != null && !threads[i].IsAlive) { c = threads[i]; break; } } if (c != null) { threads.Remove(c); } } } } protected void StartMe(object ob) { mt = new Thread(new ThreadStart(ThreadManage)); mt.Start(); TParameter p = ob as TParameter; string curIp = p.StartIp; while (true) { for (int i = 0; i < _maxThreads; i ) { if (curIp != "") { if (_currentThreads >= _maxThreads) break; System.Object lockThis = new System.Object(); lock (lockThis) { _currentThreads ; if (_currentThreads > _maxThreads) _currentThreads = _maxThreads; string tip = curIp; Thread t = new Thread(new ParameterizedThreadStart(Run)); t.Start(tip); threads.Add(t); curIp = IPUtility.getLastIp(curIp, p.EndIp, 1); } } else { break; } } } } protected void Run(object ob) { string ip = ob.ToString(); SocketGetHead h = new SocketGetHead(); string ret = h.GetHtml(ip, 80); if (ret.IndexOf("DVRDVS-Webs") > 0) { ListViewItem item = new ListViewItem(); item.SubItems[0].Text = (listView1.Items.Count 1).ToString(); ListViewItem.ListViewSubItem lvSubItem = new ListViewItem.ListViewSubItem(); lvSubItem.Text = ip; item.SubItems.Add(lvSubItem); lvSubItem = new ListViewItem.ListViewSubItem(); lvSubItem.Text = "DVRDVS-Webs"; item.SubItems.Add(lvSubItem); listView1.Items.Add(item); } System.Object lockThis = new System.Object(); lock(lockThis) { lblCurIp.Text = ip; _currentThreads--; if (_currentThreads < 0) _currentThreads = 0; } } private void tsmCopy_Click(object sender, EventArgs e) { if (listView1.SelectedItems.Count > 0) { string ip = listView1.SelectedItems[0].SubItems[1].Text; Clipboard.SetText(ip); } } private void tsmExport_Click(object sender, EventArgs e) { StreamWriter writer = new StreamWriter(AppDomain.CurrentDomain.BaseDirectory "\export.txt",true); foreach (ListViewItem item in listView1.Items) { string ip=item.SubItems[1].Text; writer.WriteLine(ip); writer.Flush(); } writer.Flush(); writer.Close(); MessageBox.Show("导出成功!"); } private void Form1_FormClosing(object sender, FormClosingEventArgs e) { try { if (mt != null) { mt.Interrupt(); mt.Abort(); } foreach (Thread t in threads) { t.Interrupt(); t.Abort(); } if (main != null) { main.Interrupt(); main.Abort(); } } catch { } Thread.Sleep(5000); } private void btnStop_Click(object sender, EventArgs e) { try { if (mt != null) { mt.Interrupt(); mt.Abort(); } foreach (Thread t in threads) { t.Interrupt(); t.Abort(); } if (main != null) { main.Interrupt(); main.Abort(); } } catch { } btnStart.Enabled = true; } }}
    2014-06-23下载
    积分:1
  • Joker-Hacks-Dayz-Sa
    Another Dayz SA hack with script r
    2016-02-05 14:06:38下载
    积分:1
  • 696518资源总数
  • 104360会员总数
  • 40今日下载