namespace DnsmasqWebUI.Models.Dnsmasq; /// Result of probing dnsmasq version and comparing to minimum required. /// Parsed version from version command output; null if probe failed or could not parse. /// Configured minimum required version. /// True when the version command ran and output could be parsed. /// True when probe succeeded and installed version is at least minimum. /// The command that was run (e.g. "dnsmasq --version"). /// Error message when probe failed or version could not be parsed; null on success. public record DnsmasqVersionInfo( Version? InstalledVersion, Version MinimumVersion, bool ProbeSucceeded, bool IsSupported, string ProbeCommand, string? Error);