using System.Net; namespace XFEExtension.NetCore.WebExtension.LANDeviceDetector; /// /// 局域网设备 /// public abstract class LanDevice(IPAddress iPAddress, IPHostEntry? hostEntry, string? deviceName) { /// /// 设备名称 /// public string? DeviceName { get; set; } = deviceName; /// /// Host入口 /// public IPHostEntry? HostEntry { get; set; } = hostEntry; /// /// IP地址 /// public IPAddress IPAddress { get; set; } = iPAddress; }