91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 387KB
    文件類型: .rar
    金幣: 2
    下載: 0 次
    發布日期: 2022-06-13
  • 語言: 其他
  • 標簽: IP??數據包??解析??

資源簡介

網絡協議分析的課程設計,題目IP數據包解析,改程序的主要功能是抓取本地主機的IP數據包,并解析。

資源截圖

代碼片段和文件信息

using?System;
using?System.Collections.Generic;
using?System.ComponentModel;
using?System.Drawing;
using?System.Windows.Forms;
using?System.Reflection;

namespace?ProtocolAnalysis
{
????partial?class?AboutBox1?:?Form
????{
????????public?AboutBox1()
????????{
????????????InitializeComponent();

????????????//??初始化?AboutBox?以顯示程序集信息中包含的產品信息。
????????????//??也可以通過以下方法更改應用程序的程序集信息設置:
????????????//??-?項目->屬性->應用程序->程序集信息
????????????//??-?AssemblyInfo.cs
????????????this.Text?=?String.Format(“關于?{0}“?Assemblytitle);
????????????this.labelProductName.Text?=?AssemblyProduct;
????????????this.labelVersion.Text?=?String.Format(“版本?{0}“?AssemblyVersion);
????????????this.labelCopyright.Text?=?AssemblyCopyright;
????????????this.labelCompanyName.Text?=?AssemblyCompany;
????????????this.textBoxDescription.Text?=?AssemblyDescription;
????????}

????????#region?程序集屬性訪問器

????????public?string?Assemblytitle
????????{
????????????get
????????????{
????????????????//?獲取此程序集上的所有?title?屬性
????????????????object[]?attributes?=?Assembly.GetExecutingAssembly().GetCustomAttributes(typeof(AssemblytitleAttribute)?false);
????????????????//?如果至少有一個?title?屬性
????????????????if?(attributes.Length?>?0)
????????????????{
????????????????????//?請選擇第一個屬性
????????????????????AssemblytitleAttribute?titleAttribute?=?(AssemblytitleAttribute)attributes[0];
????????????????????//?如果該屬性為非空字符串,則將其返回
????????????????????if?(titleAttribute.title?!=?““)
????????????????????????return?titleAttribute.title;
????????????????}
????????????????//?如果沒有?title?屬性,或者?title?屬性為一個空字符串,則返回?.exe?的名稱
????????????????return?System.IO.Path.GetFileNameWithoutExtension(Assembly.GetExecutingAssembly().Codebase);
????????????}
????????}

????????public?string?AssemblyVersion
????????{
????????????get
????????????{
????????????????return?Assembly.GetExecutingAssembly().GetName().Version.ToString();
????????????}
????????}

????????public?string?AssemblyDescription
????????{
????????????get
????????????{
????????????????//?獲取此程序集的所有?Description?屬性
????????????????object[]?attributes?=?Assembly.GetExecutingAssembly().GetCustomAttributes(typeof(AssemblyDescriptionAttribute)?false);
????????????????//?如果?Description?屬性不存在,則返回一個空字符串
????????????????if?(attributes.Length?==?0)
????????????????????return?““;
????????????????//?如果有?Description?屬性,則返回該屬性的值
????????????????return?((AssemblyDescriptionAttribute)attributes[0]).Description;
????????????}
????????}

????????public?string?AssemblyProduct
????????{
????????????get
????????????{
????????????????//?獲取此程序集上的所有?Product?屬性
????????????????object[]?attributes?=?Assembly.GetExecutingAssembly().GetCustomAttributes(typeof(AssemblyProductAttribute)?false);
????????????????//?如果?Product?屬性不存在,則返回一個空字符串
????????????????if?(attributes.Length?==?0)
????????????????????return?““;
????????????????//?如果有?Product?屬性,則返回該屬性的值
????????????????return?((AssemblyProductAttribute)attributes[0]).

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----

?????文件???????2477??2011-06-13?21:39??Logo.Designer.cs

?????文件???????5814??2011-06-13?21:39??Logo.resx

?????文件??????12862??2011-06-13?19:34??mm64.ico

?????文件????????475??2011-06-13?11:04??Program.cs

?????文件???????4280??2011-06-13?21:40??ProtocolAnalysis.csproj

?????文件???????9632??2011-06-14?19:05??RawSocket.cs

?????文件?????159744??2011-06-14?19:05??bin\Debug\ProtocolAnalysis.exe

?????文件??????50688??2011-06-14?19:05??bin\Debug\ProtocolAnalysis.pdb

?????文件???????5632??2005-11-11?22:25??bin\Debug\ProtocolAnalysis.vshost.exe

?????文件???????1202??2011-06-14?19:06??obj\ProtocolAnalysis.csproj.FileListAbsolute.txt

?????文件????????180??2011-06-13?19:42??obj\Debug\ProtocolAnalysis.AboutBox1.resources

?????文件???????1057??2011-06-13?21:40??obj\Debug\ProtocolAnalysis.csproj.GenerateResource.Cache

?????文件?????159744??2011-06-14?19:05??obj\Debug\ProtocolAnalysis.exe

?????文件??????14387??2011-06-13?21:40??obj\Debug\ProtocolAnalysis.Form1.resources

?????文件????????180??2011-06-13?21:40??obj\Debug\ProtocolAnalysis.Logo.resources

?????文件??????50688??2011-06-14?19:05??obj\Debug\ProtocolAnalysis.pdb

?????文件??????92877??2011-06-13?21:38??obj\Debug\ProtocolAnalysis.Properties.Resources.resources

?????文件???????5120??2011-06-13?21:33??obj\Debug\TempPE\Properties.Resources.Designer.cs.dll

?????文件???????1223??2011-06-13?19:34??Properties\AssemblyInfo.cs

?????文件???????3392??2011-06-13?21:33??Properties\Resources.Designer.cs

?????文件???????6474??2011-06-13?21:33??Properties\Resources.resx

?????文件???????1101??2011-06-13?11:04??Properties\Settings.Designer.cs

?????文件????????249??2011-06-13?11:04??Properties\Settings.settings

?????文件???????3245??2011-06-13?19:37??Resources\0d1e4bf47db0f100bc3109c8.jpg

?????文件??????88950??2011-06-13?21:33??Resources\logo.jpg

?????文件???????4877??2011-06-13?19:42??AboutBox1.cs

?????文件??????10437??2011-06-13?19:42??AboutBox1.Designer.cs

?????文件???????5814??2011-06-13?19:42??AboutBox1.resx

?????文件???????5929??2011-06-13?21:45??Form1.cs

?????文件??????11639??2011-06-13?21:40??Form1.Designer.cs

............此處省略13個文件信息

評論

共有 條評論