所以我引用了那里的 dll 文件(PacketDotNet.dll 和 SharpCap.dll),由于某种原因它找不到这两个类。
private LivePcapDevice m_Device = null;
private IStatusUpdate m_IStatusUpdate;
不知道该怎么做,如果有人有这个问题的经验,那会很有帮助,但这是我的设置,看起来它应该可以工作。
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Net;
using System.Net.Sockets;
using System.Threading;
using System.Runtime.InteropServices;
using System.Windows.Forms;
using SharpPcap;
using PacketDotNet;
using System.Collections.ObjectModel;
using System.Net.NetworkInformation;
namespace DHCP4IPTV
{