CodeBus
www.codebus.net
Search
Sign in
Sign up
Hot Search :
Source
embeded
web
remote control
p2p
game
More...
Location :
Home
Search - CSharp API
Main Category
SourceCode
Documents
Books
WEB Code
Develop Tools
Other resource
Sub Category
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
xml-soap-webservice
Remote Control
P2P
TCP/IP stack
SNMP
Grid Computing
CloudComputing
Search - CSharp API - List
[
Internet-Network
]
ArpSender
DL : 0
ArpSender是C#写的ARP发包器,写的初衷是想试下什么样的ARP包才会引起ARP攻击,构造一些包可能会导致别人上不了网。至于包怎么填,发挥大家的想象吧,嘿嘿。 ArpSender用了SharpPcap这个开源API,有兴趣的到网上查下,用起来挺简单的。编程过程中最大的问题就是线程的问题。发包的代码中用了BackgroundWorker控件,因为参数只能传一个,并且线程是不允许直接调用主窗口控件,后来用了一个结构体struct ArpPac来传,感觉还是很麻烦啊!不过还好在BackgroundWorker的RunWorkerCompleted可以直接操作主窗口控件了,能把结果显示到主窗口上。 在编写获取IP的MAC地址部分,一开始还是用BackgroundWorker,在获取存在的IP地址MAC时可以正常工作,可是当IP不存在是,DOWORK方法一直没结束。因为里面一个Resolve方法一直没返回,也没超时设定,线程就一直卡在那不动了。也不知道该怎么结束这个线程。于是改用了Thread,传参数用了个object数组,嘿嘿,所有参数都封起来。到了那边再解封,很好用。后来才发现,线程是没有返回值的。。又不能直接操作窗体控件。。没办法,只好设个全局变量来保存结果了。获取MAC部分还用了个Timer控件,1秒钟如果还没得到返回的MAC,直接结束该线程-ArpSender Writing C# are the ARP contract, and written under the original intent was to want to test what kind of ARP packets that would arouse the ARP attacks, construction of some packets may lead to others not on Net. As for how to fill package, everyone s imagination to play it, ArpSender spent SharpPcap this open source API, there is interest in online search, the very simple to use. Programming process is the biggest problem the question thread. Contract code used BackgroundWorker control, because the parameters can only be a mass, and threads are not allowed to directly call the main window controls, and later used a structure struct ArpPac to mass, I feel still very troublesome ah! Fortunately, however RunWorkerCompleted at BackgroundWorker can directly operate the main window controls, and the results can show up to the main window. In the preparation of access to IP-MAC address of the beginning or use BackgroundWorker, exist in access to the IP address of MAC c
Date
: 2025-12-16
Size
: 200kb
User
:
咹靜ゞ`兲倥
[
Internet-Network
]
NewsViewer
DL : 0
news viewer using google api
Date
: 2025-12-16
Size
: 62kb
User
:
max
[
Internet-Network
]
wifishell
DL : 0
在windows系统中通过调用wlanapi.dll提供的API 在cmd shell中访问wifi的方法-using cmd shell to connect wifi
Date
: 2025-12-16
Size
: 170kb
User
:
sam
[
Internet-Network
]
Socket-Programming-in-CSharp
DL : 0
The Program Socket Programming is used a starter for those who wants to write C# Codes using Net Sockets. It lets you to use Socket Connections with other Systems. The Server Waits for the Connection and gives a Warm Welcome Message to the User Or the Client. Tools/API Information : This Programme it Written using Net.Socket and no extra Feature is used. This is written with the Aim that anyone should understand the Usage of Sockets and NetWorks and to show that C# has got great Support for NetWorking. Benefit : There are lots of codes still I am sending this because of its Simplicity and you can use write this Code with just a NotePad/TextPad/Editor.
Date
: 2025-12-16
Size
: 1kb
User
:
Majid
[
Internet-Network
]
CSharp-wifi-demo
DL : 0
Native wifi api 使用的一个例子-a demo for programing use native wifi api
Date
: 2025-12-16
Size
: 46kb
User
:
刘龙
[
Internet-Network
]
csharp-google-translator-ApI
DL : 0
C# 利用google翻译API接口制作翻译工具因为是GET提交方式,那么就限定了字符长度,可以说是一大遗憾.-C# API interface to make use of google translator translation tools presented in a way because it is GET, then the character length limit, can be said to be a great pity.
Date
: 2025-12-16
Size
: 2kb
User
:
htmon
CodeBus
is one of the largest source code repositories on the Internet!
Contact us :
1999-2046
CodeBus
All Rights Reserved.