PrinterDetection
public record PrinterDetectionResult of PrinterProfiles.Detect.
Constructors
| Signature | Description |
|---|---|
# PrinterDetection(PrinterIdentity Identity, PrinterProfile Profile, ProfileMatch Match, IReadOnlyList<PrinterProfile> Candidates, IReadOnlyList<string> Notes) | Result of PrinterProfiles.Detect. Identity: Parsed values. · Profile: Best profile (with the reported firmware applied via PrinterProfile.WithFirmware), null if none. · Match: Match quality. · Candidates: All profiles that fit. · Notes: Why the match is not exact, conflicts … |
Properties
| Property | Type | Description |
|---|---|---|
Candidates { get; init; } | IReadOnlyList<PrinterProfile> | All profiles that fit. |
Identity { get; init; } | PrinterIdentity | Parsed values. |
Match { get; init; } | ProfileMatch | Match quality. |
Notes { get; init; } | IReadOnlyList<string> | Why the match is not exact, conflicts … |
Profile { get; init; } | PrinterProfile | Best profile (with the reported firmware applied via PrinterProfile.WithFirmware), null if none. |
Methods
| Method Signature | Returns | Description |
|---|---|---|
# Deconstruct(out PrinterIdentity Identity, out PrinterProfile Profile, out ProfileMatch Match, out IReadOnlyList<PrinterProfile> Candidates, out IReadOnlyList<string> Notes) | void | |
# ToJson(bool indented = true) | string |

