using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Oreo.NetMonitor.Models { public class ProcessPort { public int Port { get; set; } /// /// 协议 /// public ProtocolType Type { get; set; } /// /// 本地地址 /// public string LocalAddress { get; set; } /// /// 远程地址 /// public string RemoteAddress { get; set; } /// /// 远程通信端口 /// public int RemotePort { get; set; } } /// /// 支持的当前协议 /// public enum ProtocolType { TCPType, UDPType } }