资源简介

来自广东工业大学 计算机网络 课程设计 源代码工程,执行程序,设计报告,资料 全部完整

资源截图

代码片段和文件信息

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

namespace Sniffer
{
    partial class AboutMe : Form
    {
        public AboutMe()
        {
            InitializeComponent();
            this.Text = String.Format(“About {0}“ Assemblytitle);
            this.labelProductName.Text = AssemblyProduct;
            this.labelVersion.Text = String.Format(“Version {0}“ AssemblyVersion);
            this.labelCopyright.Text = AssemblyCopyright;
            this.labelCompanyName.Text = AssemblyCompany;
            this.textBoxDescription.Text = AssemblyDescription;
        }

        #region Assembly Attribute Accessors

        public string Assemblytitle
        {
            get
            {
                object[] attributes = Assembly.GetExecutingAssembly().GetCustomAttributes(typeof(AssemblytitleAttribute) false);
                if (attributes.Length > 0)
                {
                    AssemblytitleAttribute titleAttribute = (AssemblytitleAttribute)attributes[0];
                    if (titleAttribute.title != ““)
                    {
                        return titleAttribute.title;
                    }
                }
                return System.IO.Path.GetFileNameWithoutExtension(Assembly.GetExecutingAssembly().Codebase);
            }
        }

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

        public string AssemblyDescription
        {
            get
            {
                object[] attributes = Assembly.GetExecutingAssembly().GetCustomAttributes(typeof(AssemblyDescriptionAttribute) false);
                if (attributes.Length == 0)
                {
                    return ““;
                }
                return ((AssemblyDescriptionAttribute)attributes[0]).Description;
            }
        }

        public string AssemblyProduct
        {
            get
            {
                object[] attributes = Assembly.GetExecutingAssembly().GetCustomAttributes(typeof(AssemblyProductAttribute) false);
                if (attributes.Length == 0)
                {
                    return ““;
                }
                return ((AssemblyProductAttribute)attributes[0]).Product;
            }
        }

        public string AssemblyCopyright
        {
            get
            {
                object[] attributes = Assembly.GetExecutingAssembly().GetCustomAttributes(typeof(AssemblyCopyrightAttribute) false);
                if (attributes.Length == 0)
                {
                    return ““;
                }
                return ((AssemblyCopyrightAttribute)attributes[0]).Copyright;
            }
        }

        public string Ass

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件      71179  2011-05-28 10:56  资料\C++中实现委托(Delegate).docx

     文件      35226  2011-05-25 21:34  资料\MVC 设计模式01.docx

     文件      53427  2011-05-25 21:34  资料\MVC 设计模式02.docx

     文件     123392  2011-03-23 20:35  资料\SharpPcap相关\SharpPcap-3.6.0\Debug\PacketDotNet.dll

     文件     291464  2011-03-23 20:35  资料\SharpPcap相关\SharpPcap-3.6.0\Debug\PacketDotNet.xml

     文件      72704  2011-03-23 20:35  资料\SharpPcap相关\SharpPcap-3.6.0\Debug\SharpPcap.dll

     文件        492  2011-03-23 20:35  资料\SharpPcap相关\SharpPcap-3.6.0\Debug\SharpPcap.dll.config

     文件     183611  2011-03-23 20:35  资料\SharpPcap相关\SharpPcap-3.6.0\Debug\SharpPcap.xml

     目录          0  2011-05-28 11:46  资料\SharpPcap相关\SharpPcap-3.6.0\Debug

     文件     123392  2011-03-23 20:35  资料\SharpPcap相关\SharpPcap-3.6.0\Release\PacketDotNet.dll

     文件     291464  2011-03-23 20:35  资料\SharpPcap相关\SharpPcap-3.6.0\Release\PacketDotNet.xml

     文件      72704  2011-03-23 20:35  资料\SharpPcap相关\SharpPcap-3.6.0\Release\SharpPcap.dll

     文件        492  2011-03-23 20:35  资料\SharpPcap相关\SharpPcap-3.6.0\Release\SharpPcap.dll.config

     文件     183613  2011-03-23 20:35  资料\SharpPcap相关\SharpPcap-3.6.0\Release\SharpPcap.xml

     目录          0  2011-05-28 11:46  资料\SharpPcap相关\SharpPcap-3.6.0\Release

     目录          0  2011-05-28 11:46  资料\SharpPcap相关\SharpPcap-3.6.0

     文件         84  2011-03-24 00:32  资料\SharpPcap相关\SharpPcap-3.6.0.src\.gitignore

     文件       2708  2011-03-24 00:32  资料\SharpPcap相关\SharpPcap-3.6.0.src\ARCHITECTURE

     文件      22457  2011-03-24 00:32  资料\SharpPcap相关\SharpPcap-3.6.0.src\Changelog

     文件       2714  2011-03-24 00:32  资料\SharpPcap相关\SharpPcap-3.6.0.src\Examples\AirPcapBasicCapture\AirPcapBasicCapture.csproj

     文件       2081  2011-03-24 00:32  资料\SharpPcap相关\SharpPcap-3.6.0.src\Examples\AirPcapBasicCapture\Program.cs

     文件       1468  2011-03-24 00:32  资料\SharpPcap相关\SharpPcap-3.6.0.src\Examples\AirPcapBasicCapture\Properties\AssemblyInfo.cs

    ..AD...         0  2011-05-28 12:11  资料\SharpPcap相关\SharpPcap-3.6.0.src\Examples\AirPcapBasicCapture\Properties

    ..AD...         0  2011-05-28 12:11  资料\SharpPcap相关\SharpPcap-3.6.0.src\Examples\AirPcapBasicCapture

     文件       2946  2011-03-24 00:32  资料\SharpPcap相关\SharpPcap-3.6.0.src\Examples\AirPcapDeviceInformation\AirPcapDeviceInformation.csproj

     文件       4453  2011-03-24 00:32  资料\SharpPcap相关\SharpPcap-3.6.0.src\Examples\AirPcapDeviceInformation\Program.cs

     文件       1478  2011-03-24 00:32  资料\SharpPcap相关\SharpPcap-3.6.0.src\Examples\AirPcapDeviceInformation\Properties\AssemblyInfo.cs

    ..AD...         0  2011-05-28 12:11  资料\SharpPcap相关\SharpPcap-3.6.0.src\Examples\AirPcapDeviceInformation\Properties

    ..AD...         0  2011-05-28 12:11  资料\SharpPcap相关\SharpPcap-3.6.0.src\Examples\AirPcapDeviceInformation

     文件       2468  2011-03-24 00:32  资料\SharpPcap相关\SharpPcap-3.6.0.src\Examples\AirPcapDeviceList\AirPcapDeviceList.csproj

............此处省略303个文件信息

评论

共有 条评论