• 大小: 1.33M
    文件类型: .rar
    金币: 2
    下载: 5 次
    发布日期: 2020-12-14
  • 语言: C#
  • 标签: 实例  C#  网络  监控  

资源简介

该实例是基于C#的网络实时监控程序实例,界面美观,有多种显示窗口。

可结束任务,可监听网络流量

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Net;

namespace iphelper
{
    public class TcpDataType
    {
        public string Protocol
        {
            get { return “TCP“; }
        }

        public string State { get; set; }

        public string LocalAddress { get; set; }

        public string ForeignAddress { get; set; }

        public int Pid { get; set; }

        public string ImageName { get; set; }

        public TcpDataType()
        {
        }

        public TcpDataType(TcpRow data)
        {
            State = data.State.ToString();
            LocalAddress = data.LocalEndPoint.ToString();
            ForeignAddress = data.RemoteEndPoint.ToString();

            Pid = da

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

     文件        505  2013-01-04 10:26  ZYWFlowMonitoring\.gitattributes

     文件       2133  2013-01-04 10:26  ZYWFlowMonitoring\.gitignore

     文件     359424  2013-01-04 10:26  ZYWFlowMonitoring\bin\debug\DynamicDataDisplay.dll

     文件      49664  2013-01-04 10:26  ZYWFlowMonitoring\bin\debug\Hardcodet.Wpf.TaskbarNotification.dll

     文件      15872  2014-07-24 15:11  ZYWFlowMonitoring\bin\debug\iphelper.dll

     文件      44544  2014-07-24 15:11  ZYWFlowMonitoring\bin\debug\iphelper.pdb

     文件     367104  2013-01-04 10:26  ZYWFlowMonitoring\bin\debug\MahApps.Metro.dll

     文件     442368  2013-01-04 10:26  ZYWFlowMonitoring\bin\debug\MahApps.Metro.Resources.dll

     文件    1207296  2014-07-24 15:11  ZYWFlowMonitoring\bin\debug\netwatch.exe

     文件     175616  2014-07-24 15:11  ZYWFlowMonitoring\bin\debug\netwatch.pdb

     文件      22984  2014-07-24 15:18  ZYWFlowMonitoring\bin\debug\netwatch.vshost.exe

     文件        973  2013-01-04 10:26  ZYWFlowMonitoring\bin\debug\netwatch.vshost.exe.manifest

     文件      39936  2013-01-04 10:26  ZYWFlowMonitoring\bin\debug\System.Windows.Interactivity.dll

     文件     392704  2013-01-04 10:26  ZYWFlowMonitoring\bin\debug\WPFToolkit.Extended.dll

     文件     370070  2013-01-04 10:26  ZYWFlowMonitoring\doc\icon.ico

     文件       4582  2013-01-04 10:26  ZYWFlowMonitoring\doc\icon.png

     文件      66076  2013-01-04 10:26  ZYWFlowMonitoring\doc\icon.psd

     文件       1400  2013-01-04 10:26  ZYWFlowMonitoring\netwatch.sln

     文件        316  2013-01-04 10:26  ZYWFlowMonitoring\README.md

     文件       7108  2013-01-04 10:26  ZYWFlowMonitoring\src\iphelper\DataType.cs

     文件       2626  2013-01-04 10:26  ZYWFlowMonitoring\src\iphelper\Helper.cs

     文件       4168  2013-01-04 10:26  ZYWFlowMonitoring\src\iphelper\IpHelper.cs

     文件       2692  2013-01-04 10:26  ZYWFlowMonitoring\src\iphelper\iphelper.csproj

     文件       3702  2013-01-04 10:26  ZYWFlowMonitoring\src\iphelper\ManagedIpHelper.cs

     文件       6455  2014-07-24 15:10  ZYWFlowMonitoring\src\iphelper\obj\Debug\DesignTimeResolveAssemblyReferencesInput.cache

     文件        492  2014-07-24 15:11  ZYWFlowMonitoring\src\iphelper\obj\Debug\iphelper.csproj.FileListAbsolute.txt

     文件       1753  2014-07-24 15:11  ZYWFlowMonitoring\src\iphelper\obj\Debug\iphelper.csprojResolveAssemblyReference.cache

     文件      15872  2014-07-24 15:11  ZYWFlowMonitoring\src\iphelper\obj\Debug\iphelper.dll

     文件      44544  2014-07-24 15:11  ZYWFlowMonitoring\src\iphelper\obj\Debug\iphelper.pdb

     文件       1428  2013-01-04 10:26  ZYWFlowMonitoring\src\iphelper\Properties\AssemblyInfo.cs

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

评论

共有 条评论