- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
CONTENTS
TOC \o 1-3 \h \z \u Introduction 2
Background 2
About SharpPcap 3
Packet.Net architecture and usage 4
SharpPcap tutorial: A step by step guide to using SharpPcap 6
Obtaining the device list (Example 1 in the source package) 6
Opening an adapter and capturing packets (Example 3 in the source package) 8
Capturing packets without the event handler (Example 4 in the source package) 10
Filtering the traffic (Example 5 in the source package) 11
Interpreting the packets (Example 6 in the source package) 12
Handling offline dump files (Example 8 in the source package) 14
Sending packets (Example 9 in the source package) 17
Gathering statistics on the network traffic - WinPcap only (Example 11 in the source package) 21
References 23
History 23
Eg: 24
[A .NET sniffer application written with SharpPcap]
Introduction
Packet capturing (or packet sniffing) is the process of collecting all packets of data that pass through a given network interface. Capturing network packets in our applications is a powerful capability which lets us write network monitoring, packet analyzers and security tools. The libpcap library for UNIX based systems and WinPcap for Windows are the most widely used packet capture drivers that provide API for low-level network monitoring. Among the applications that use libpcap/WinPcap as its packet capture subsystem are the famous tcpdump and Wireshark.
In this article, we will introduce the SharpPcap .NET assembly (library) for interfacing with libpcap or winpcap from your .NET application and will give you a detailed programming tutorial on how to use it.
Background
Tamir Gal started the SharpPcap project around 2004. He wanted to use WinPcap in a .NET application while working on his final project for university. The project involved analyzing and decoding VoIP traffic and he wanted to keep coding simple with C# which has time saving features like garbage collection. Accessing the WinPc
您可能关注的文档
- how引导的感叹句、一般过去时讲义.doc
- How to write a literature review-学术英语写作.ppt
- humor “幽默”英文演讲.doc
- IELTS 雅思作文-快餐利弊.doc
- It +不及物动词+that从句.doc
- IT及财务的常用英文缩写.doc
- job 工作 生活英语课件.ppt
- INTERNATIONAL SETTLEMENT CHAPTER 1国际结算第一章.ppt
- Lesson 118when while just as 引导的时间状语从句.ppt
- Lecture 3 英语写作句式变化:短句变长句.ppt
- 2025浙江丽水云和县富云国有资产投资集团有限公司招聘劳务用工4人备考题库附答案详解.docx
- 2025湖南人才市场有限公司公开选聘备考题库及答案详解(名校卷).docx
- 2025河北雄安人才服务有限公司信访主管、综合文秘等岗位招聘6人备考题库含答案详解(研优卷).docx
- 2025河北石家庄市国有企业招聘策划、建筑、景观设计英才3人备考题库含答案详解(能力提升).docx
- 2025江西江铜嘉磁动力科技有限公司劳务外包招聘3人备考题库附答案详解(b卷).docx
- 精品解析:山东省济南市东南片区2024-2025学年八年级上学期期末考试物理试题(解析版).docx
- 2025湖南港航水利集团秋季社招38人备考题库附答案详解(培优b卷).docx
- 2025浙江温州市国有资本投资运营有限公司招聘16人备考题库(第二批)附答案详解(模拟题).docx
- 2025浙江台州市温岭市产业大脑有限公司招聘2人备考题库带答案详解(名师推荐).docx
- 2025浙江绍兴市科技产业投资有限公司下属合资企业浙江城华新能源发展有限公司招聘1人备考题库含答案详.docx
最近下载
- 2025年6月全国大学英语CET四级真题和答案解析(全三套).pdf
- 医院污水处理方案.docx VIP
- 2020NFPA 855固定式储能系统安装标准.pdf VIP
- 大学生社会实践-流动的急救课堂智慧树知到期末考试答案2024年.docx VIP
- 精品度假酒店设计.pptx
- 2024-2025学年人教版小学六年级数学下册第三单元《圆柱的表面积和体积的计算》专项试卷及答案.docx VIP
- BB-T 0053-2023模内标签-标准图集.docx VIP
- 纪检监察笔录培训课件.pptx VIP
- 股份公司董事会向经理层授权管理办法附董事会授权事项清单.docx VIP
- 高温操作寿命HTOL及早期失效EFR计算公式.xls VIP
原创力文档


文档评论(0)