namespace Inspectron.Epson; /// /// Represents a discovered service via mDNS/Bonjour /// public class BonjourService { public string ServiceName { get; set; } public string ServiceType { get; set; } public string Domain { get; set; } public string FullServiceName { get; set; } public string HostName { get; set; } public string IPAddress { get; set; } public int Port { get; set; } public Dictionary TxtRecords { get; set; } public uint TTL { get; set; } public DateTime DiscoveredAt { get; set; } public byte[] RawResponse { get; set; } public BonjourService() { TxtRecords = new Dictionary(); } public override string ToString() { return $"{ServiceName}.{ServiceType}.{Domain} - {IPAddress}:{Port}"; } }